diff options
| author | adamdottv <[email protected]> | 2025-05-12 14:32:27 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-12 14:32:27 -0500 |
| commit | 36e5ae804e4bf0c96a0ce6cca90029e88c2da9b3 (patch) | |
| tree | e4dd3910956376104c2b3996c245393bf625bc32 /internal/tui/components/core | |
| parent | c9b90dd184084a2a3669db49717eb485c8861ee4 (diff) | |
| download | opencode-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.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" } |
