diff options
Diffstat (limited to 'internal/tui/components/core')
| -rw-r--r-- | internal/tui/components/core/status.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tui/components/core/status.go b/internal/tui/components/core/status.go index d6612fed4..be2f39432 100644 --- a/internal/tui/components/core/status.go +++ b/internal/tui/components/core/status.go @@ -140,7 +140,7 @@ func formatTokensAndCost(tokens int64, contextWindow int64, cost float64) string func (m statusCmp) View() string { t := theme.CurrentTheme() - modelID := config.Get().Agents[config.AgentCoder].Model + modelID := config.Get().Agents[config.AgentPrimary].Model model := models.SupportedModels[modelID] // Initialize the help widget @@ -283,7 +283,7 @@ func (m statusCmp) model() string { cfg := config.Get() - coder, ok := cfg.Agents[config.AgentCoder] + coder, ok := cfg.Agents[config.AgentPrimary] if !ok { return "Unknown" } |
