fix(status): include provider prefix in model display
The /status command was showing 'anthropic/claude-sonnet-4-5' even when
using 'google-antigravity/claude-sonnet-4-5' because buildStatusMessage
received only the model name without the provider prefix.
When resolveConfiguredModelRef parsed a model string without a slash,
it fell back to DEFAULT_PROVIDER ('anthropic'), causing the misleading
display.
Fix: Pass the full 'provider/model' string to buildStatusMessage so
the provider is correctly extracted and displayed.
🪿 Investigated and submitted by Keith the Silly Goose
This commit is contained in:
committed by
Peter Steinberger
parent
c54f2a122a
commit
7866203c5c
@@ -444,7 +444,7 @@ export async function handleCommands(params: {
|
|||||||
...cfg.agent,
|
...cfg.agent,
|
||||||
model: {
|
model: {
|
||||||
...cfg.agent?.model,
|
...cfg.agent?.model,
|
||||||
primary: model,
|
primary: `${provider}/${model}`,
|
||||||
},
|
},
|
||||||
contextTokens,
|
contextTokens,
|
||||||
thinkingDefault: cfg.agent?.thinkingDefault,
|
thinkingDefault: cfg.agent?.thinkingDefault,
|
||||||
|
|||||||
Reference in New Issue
Block a user