From 36e5ae804e4bf0c96a0ce6cca90029e88c2da9b3 Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Mon, 12 May 2025 14:32:27 -0500 Subject: chore: rename coder -> primary --- internal/tui/components/core/status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/tui/components/core') 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" } -- cgit v1.2.3