mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 22:03:45 +00:00
fix(coding-agent): improve thinking defaults in footer
This commit is contained in:
parent
81be81328c
commit
a373dce747
5 changed files with 18 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue