chore: rename coder -> primary

This commit is contained in:
adamdottv
2025-05-12 14:32:27 -05:00
parent 6d046c322d
commit c0da60e14a
18 changed files with 56 additions and 55 deletions
+2 -2
View File
@@ -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"
}