diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-06 12:42:06 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-06 12:42:06 +0300 |
| commit | 4af866079c3f21eab12b02c3158567539ca40c50 (patch) | |
| tree | d428557aae121ba89e66c728240723a9c4e718ec /props_table.go | |
| parent | 478a505869bf26b15dcbc77feb2c09c1f2ff4aac (diff) | |
Chore: linter complaints
Diffstat (limited to 'props_table.go')
| -rw-r--r-- | props_table.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/props_table.go b/props_table.go index d037bb0..50c8886 100644 --- a/props_table.go +++ b/props_table.go @@ -313,11 +313,12 @@ func makePropsTable(props map[string]float32) *tview.Table { logger.Warn("empty options list for", "label", label, "api", cfg.CurrentAPI, "localModelsLen", len(LocalModels), "orModelsLen", len(ORFreeModels)) message := "No options available for " + label if label == "Select a model" { - if strings.Contains(cfg.CurrentAPI, "openrouter.ai") { + switch { + case strings.Contains(cfg.CurrentAPI, "openrouter.ai"): message = "No OpenRouter models available. Check token and connection." - } else if strings.Contains(cfg.CurrentAPI, "api.deepseek.com") { + case strings.Contains(cfg.CurrentAPI, "api.deepseek.com"): message = "DeepSeek models should be available. Please report bug." - } else { + default: message = "No llama.cpp models loaded. Ensure llama.cpp server is running with models." } } |
