From 7fcd1f38a344e1c55dbd65c5afed9e94b6ab41b7 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 1 May 2026 15:07:16 +0300 Subject: Bump version to 0.38.2 Switch default Ollama Cloud model from kimi-k2.6 to gemma4. Co-Authored-By: Claude Sonnet 4.6 --- internal/hexaicli/run_test.go | 2 +- internal/llm/ollama.go | 2 +- internal/llmutils/client.go | 2 +- internal/llmutils/client_test.go | 2 +- internal/version.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'internal') diff --git a/internal/hexaicli/run_test.go b/internal/hexaicli/run_test.go index e2788e5..a1bad90 100644 --- a/internal/hexaicli/run_test.go +++ b/internal/hexaicli/run_test.go @@ -168,7 +168,7 @@ func TestPrintProviderInfo(t *testing.T) { func TestRun_SingleProviderHeaderUsesStderr(t *testing.T) { // This test asserts an "openai:gpt-4.1:" header, so pin the provider/model - // explicitly (the in-code default switched to ollama/kimi-k2.6). + // explicitly (the in-code default switched to ollama/gemma4). t.Setenv("HEXAI_PROVIDER", "openai") t.Setenv("HEXAI_OPENAI_MODEL", "gpt-4.1") oldNew := newClientFromApp diff --git a/internal/llm/ollama.go b/internal/llm/ollama.go index 987a258..d257ea2 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 = "kimi-k2.6" + model = "gemma4" } if timeoutSec <= 0 { timeoutSec = 30 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" { diff --git a/internal/version.go b/internal/version.go index 6598632..3cb65a6 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.1" +const Version = "0.38.2" -- cgit v1.2.3