fix(coding-agent): improve thinking defaults in footer

This commit is contained in:
Mario Zechner 2026-01-29 00:33:45 +01:00
parent 81be81328c
commit a373dce747
5 changed files with 18 additions and 13 deletions

View file

@ -172,13 +172,12 @@ export class FooterComponent implements Component {
// Calculate available space for padding (minimum 2 spaces between stats and model)
const minPadding = 2;
// Add thinking level hint if model supports reasoning and thinking is enabled
// Add thinking level indicator if model supports reasoning
let rightSideWithoutProvider = modelName;
if (state.model?.reasoning) {
const thinkingLevel = state.thinkingLevel || "off";
if (thinkingLevel !== "off") {
rightSideWithoutProvider = `${modelName}${thinkingLevel}`;
}
rightSideWithoutProvider =
thinkingLevel === "off" ? `${modelName} • thinking off` : `${modelName}${thinkingLevel}`;
}
// Prepend the provider in parentheses if there are multiple providers and there's enough room