From d9184a5bfdc39d40232cb0d66a350daffcd7a326 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 1 May 2026 15:11:21 +0300 Subject: Bump version to 0.38.3 Correct default Ollama Cloud model to gemma4:31b-cloud (bare gemma4 tag returns 404 on Ollama Cloud; the hosted cloud model requires the explicit :31b-cloud tag). Co-Authored-By: Claude Sonnet 4.6 --- internal/llm/ollama.go | 2 +- internal/llmutils/client.go | 2 +- internal/llmutils/client_test.go | 2 +- internal/version.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/llm/ollama.go b/internal/llm/ollama.go index d257ea2..98e5dce 100644 --- a/internal/llm/ollama.go +++ b/internal/llm/ollama.go @@ -73,7 +73,7 @@ func newOllamaWithTimeout(baseURL, model, apiKey string, defaultTemp *float64, t baseURL = "https://ollama.com" } if strings.TrimSpace(model) == "" { - model = "gemma4" + model = "gemma4:31b-cloud" } if timeoutSec <= 0 { timeoutSec = 30 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" { diff --git a/internal/version.go b/internal/version.go index 3cb65a6..4fa574f 100644 --- a/internal/version.go +++ b/internal/version.go @@ -1,4 +1,4 @@ // Package internal provides the Hexai semantic version identifier used by CLI and LSP binaries. package internal -const Version = "0.38.2" +const Version = "0.38.3" -- cgit v1.2.3