From 017b355d6632ef9fbf162fa741e7dde366b2b2db Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 26 Apr 2026 09:05:36 +0300 Subject: feat: default to Ollama Cloud (kimi-k2.6) when no provider configured Switches the in-code defaults so that hexai talks to Ollama Cloud (https://ollama.com) with model kimi-k2.6 when no provider is configured, instead of OpenAI. The example config, README, and configuration guide all reflect the new recommended setup; previous OpenAI / local-Ollama options are still documented as alternatives. Tests that depended on the implicit "openai" default now pin the provider explicitly so they continue to exercise the OpenAI / gpt-5 code paths they were designed to cover. Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/lsp/llm_request_opts_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/lsp') diff --git a/internal/lsp/llm_request_opts_test.go b/internal/lsp/llm_request_opts_test.go index ad87cd4..79a83fc 100644 --- a/internal/lsp/llm_request_opts_test.go +++ b/internal/lsp/llm_request_opts_test.go @@ -24,6 +24,9 @@ func TestRequestSpec_Gpt5_ForcesTemp1(t *testing.T) { s := newTestServer() one := 0.2 s.cfg.CodingTemperature = &one + // Pin Provider explicitly: the in-code default is now ollama, but the + // gpt-5 temperature-force rule only fires for openai. + s.cfg.Provider = "openai" s.llmClient = fakeClient{name: "openai", model: "gpt-5.0"} s.cfg.OpenAIModel = "gpt-5.0" -- cgit v1.2.3