summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/components/core
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-12 14:32:27 -0500
committeradamdottv <[email protected]>2025-05-12 14:32:27 -0500
commit36e5ae804e4bf0c96a0ce6cca90029e88c2da9b3 (patch)
treee4dd3910956376104c2b3996c245393bf625bc32 /internal/tui/components/core
parentc9b90dd184084a2a3669db49717eb485c8861ee4 (diff)
downloadopencode-36e5ae804e4bf0c96a0ce6cca90029e88c2da9b3.tar.gz
opencode-36e5ae804e4bf0c96a0ce6cca90029e88c2da9b3.zip
chore: rename coder -> primary
Diffstat (limited to 'internal/tui/components/core')
-rw-r--r--internal/tui/components/core/status.go4
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"
}