mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 11:02:17 +00:00
Don't show 'Thinking: off' in footer when thinking is disabled
This commit is contained in:
parent
cfcdcf055d
commit
23d6746bb9
1 changed files with 4 additions and 2 deletions
|
|
@ -88,11 +88,13 @@ export class FooterComponent {
|
|||
// Add model name on the right side, plus thinking level if model supports it
|
||||
const modelName = this.state.model?.id || "no-model";
|
||||
|
||||
// Add thinking level hint if model supports reasoning
|
||||
// Add thinking level hint if model supports reasoning and thinking is enabled
|
||||
let rightSide = modelName;
|
||||
if (this.state.model?.reasoning) {
|
||||
const thinkingLevel = this.state.thinkingLevel || "off";
|
||||
rightSide = `${modelName} • Thinking: ${thinkingLevel}`;
|
||||
if (thinkingLevel !== "off") {
|
||||
rightSide = `${modelName} • Thinking: ${thinkingLevel}`;
|
||||
}
|
||||
}
|
||||
|
||||
const statsLeftWidth = visibleWidth(statsLeft);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue