chore: small fix

This commit is contained in:
Kujtim Hoxha
2025-07-29 20:50:41 +02:00
parent 172896d7ea
commit da42a5b43e

View File

@@ -747,6 +747,9 @@ func (s *splashCmp) currentModelBlock() string {
cfg := config.Get()
agentCfg := cfg.Agents["coder"]
model := config.Get().GetModelByType(agentCfg.Model)
if model == nil {
return ""
}
t := styles.CurrentTheme()
modelIcon := t.S().Base.Foreground(t.FgSubtle).Render(styles.ModelIcon)
modelName := t.S().Text.Render(model.Name)