diff options
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 614aee4..c626918 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 "gemma4" + return "gemma4:31b-cloud" 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 bbda475..3e302d7 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 != "gemma4" { + if got := DefaultModelForProvider(cfg, "ollama"); got != "gemma4:31b-cloud" { t.Fatalf("ollama fallback = %q", got) } if got := DefaultModelForProvider(cfg, "anthropic"); got != "claude-3-5-sonnet-20240620" { |
