From 23d6746bb96427caadcd1a8f98512f1b54294bfc Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 20 Nov 2025 12:37:17 +0100 Subject: [PATCH] Don't show 'Thinking: off' in footer when thinking is disabled --- packages/coding-agent/src/tui/footer.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/coding-agent/src/tui/footer.ts b/packages/coding-agent/src/tui/footer.ts index 88f2e34c..edeffa71 100644 --- a/packages/coding-agent/src/tui/footer.ts +++ b/packages/coding-agent/src/tui/footer.ts @@ -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);