mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 12:00:15 +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,12 +88,14 @@ export class FooterComponent {
|
||||||
// Add model name on the right side, plus thinking level if model supports it
|
// Add model name on the right side, plus thinking level if model supports it
|
||||||
const modelName = this.state.model?.id || "no-model";
|
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;
|
let rightSide = modelName;
|
||||||
if (this.state.model?.reasoning) {
|
if (this.state.model?.reasoning) {
|
||||||
const thinkingLevel = this.state.thinkingLevel || "off";
|
const thinkingLevel = this.state.thinkingLevel || "off";
|
||||||
|
if (thinkingLevel !== "off") {
|
||||||
rightSide = `${modelName} • Thinking: ${thinkingLevel}`;
|
rightSide = `${modelName} • Thinking: ${thinkingLevel}`;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const statsLeftWidth = visibleWidth(statsLeft);
|
const statsLeftWidth = visibleWidth(statsLeft);
|
||||||
const rightSideWidth = visibleWidth(rightSide);
|
const rightSideWidth = visibleWidth(rightSide);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue