diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-01 15:07:16 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-01 15:07:16 +0300 |
| commit | 7fcd1f38a344e1c55dbd65c5afed9e94b6ab41b7 (patch) | |
| tree | f126b0d4d4e457181fa595b6caa96d839ed794df /internal/llmutils | |
| parent | a7ff3cfce4eb8358b2b4ff02bc2d75f436194d08 (diff) | |
Bump version to 0.38.2
Switch default Ollama Cloud model from kimi-k2.6 to gemma4.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/llmutils')
| -rw-r--r-- | internal/llmutils/client.go | 2 | ||||
| -rw-r--r-- | internal/llmutils/client_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/llmutils/client.go b/internal/llmutils/client.go index ccba847..614aee4 100644 --- a/internal/llmutils/client.go +++ b/internal/llmutils/client.go @@ -30,7 +30,7 @@ func DefaultModelForProvider(cfg appconfig.App, provider string) string { if model := strings.TrimSpace(cfg.OllamaModel); model != "" { return model } - return "kimi-k2.6" + return "gemma4" case "anthropic": if model := strings.TrimSpace(cfg.AnthropicModel); model != "" { return model diff --git a/internal/llmutils/client_test.go b/internal/llmutils/client_test.go index ed91584..bbda475 100644 --- a/internal/llmutils/client_test.go +++ b/internal/llmutils/client_test.go @@ -73,7 +73,7 @@ func TestDefaultModelForProvider_Fallbacks(t *testing.T) { if got := DefaultModelForProvider(cfg, "openrouter"); got != "openrouter/auto" { t.Fatalf("openrouter fallback = %q", got) } - if got := DefaultModelForProvider(cfg, "ollama"); got != "kimi-k2.6" { + if got := DefaultModelForProvider(cfg, "ollama"); got != "gemma4" { t.Fatalf("ollama fallback = %q", got) } if got := DefaultModelForProvider(cfg, "anthropic"); got != "claude-3-5-sonnet-20240620" { |
