diff options
| author | adamdottv <[email protected]> | 2025-05-30 15:34:22 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-30 15:34:25 -0500 |
| commit | c69c9327da4a43a63928807fcf36b24755cfac18 (patch) | |
| tree | df79a6c58976af977a28717619d70db4a62f4853 /internal/tui/components/core | |
| parent | f5e2c596d4f887daa4df579975dd5451fadc8457 (diff) | |
| download | opencode-c69c9327da4a43a63928807fcf36b24755cfac18.tar.gz opencode-c69c9327da4a43a63928807fcf36b24755cfac18.zip | |
wip: refactoring tui
Diffstat (limited to 'internal/tui/components/core')
| -rw-r--r-- | internal/tui/components/core/status.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/tui/components/core/status.go b/internal/tui/components/core/status.go index fd782ee49..18a0ad6b1 100644 --- a/internal/tui/components/core/status.go +++ b/internal/tui/components/core/status.go @@ -335,7 +335,10 @@ func (m *statusCmp) projectDiagnostics() string { func (m statusCmp) model() string { t := theme.CurrentTheme() - model := "Claude Sonnet 4" // models.SupportedModels[coder.Model] + model := "None" + if m.app.Model != nil { + model = *m.app.Model.Name + } return styles.Padded(). Background(t.Secondary()). |
