ultraworkers-claw-code/rust/crates
YeonGyu-Kim 1ecdb1076c fix(api): OPENAI_BASE_URL wins over Anthropic fallback for unknown models
When OPENAI_BASE_URL is set, the user explicitly configured an
OpenAI-compatible endpoint (Ollama, LM Studio, vLLM, etc.). Model names
like 'qwen2.5-coder:7b' or 'llama3:latest' don't match any recognized
prefix, so detect_provider_kind() fell through to Anthropic — asking for
Anthropic credentials even though the user clearly intended a local
provider.

Now: OPENAI_BASE_URL + OPENAI_API_KEY beats Anthropic env-check in the
cascade. OPENAI_BASE_URL alone (no API key — common for Ollama) is a
last-resort fallback before the Anthropic default.

Source: MaxDerVerpeilte in #claw-code (Ollama + qwen2.5-coder:7b);
traced by gaebal-gajae.
2026-04-10 12:37:39 +09:00
..
api fix(api): OPENAI_BASE_URL wins over Anthropic fallback for unknown models 2026-04-10 12:37:39 +09:00
commands fix(cli): surface command name in 'not yet implemented' REPL message 2026-04-10 00:39:16 +09:00
compat-harness wip: plugins progress 2026-04-01 07:09:06 +00:00
mock-anthropic-service feat(harness+usage): add auto_compact and token_cost parity scenarios 2026-04-03 22:41:42 +09:00
plugins fix(plugins): chmod +x generated hook scripts + tolerate BrokenPipe in stdin write — closes ROADMAP #25 hotfix lane 2026-04-08 15:48:20 +09:00
runtime fix(tools): support brace expansion in glob_search patterns 2026-04-10 11:22:38 +09:00
rusty-claude-cli test(cli): add integration test for model persistence in resumed /status 2026-04-10 10:31:05 +09:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools fix(startup): fall back to USERPROFILE when HOME is not set (Windows) 2026-04-10 08:33:35 +09:00