claw-code/rust/crates/rusty-claude-cli
TheArchitectit 3dde9be4ce fix(setup): normalize bare custom model to local/ prefix to avoid proxy 404
The previous fix normalized bare model names like openclaw to
openai/openclaw so validation passed, but the full prefixed name was sent
as the wire model, causing custom proxies to return 404.

Instead, normalize to local/openclaw. The local/ prefix forces OpenAI-
compatible routing and is always stripped by wire_model_for_base_url(),
so the backend receives the bare model id the user configured while the
CLI still validates and routes correctly.

- Revert validation-time bare-name acceptance (it leaked the user's
  OPENAI_BASE_URL env var into unrelated tests).
- Add unit tests for the local/ normalization and config env injection.
- Fix an unused_mut warning in tui/app.rs terminal-guard tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-16 12:25:52 -05:00
..
.claw/sessions feat(runtime): typed task packet format for structured claw dispatch 2026-04-04 00:40:20 +09:00
src fix(setup): normalize bare custom model to local/ prefix to avoid proxy 404 2026-06-16 12:25:52 -05:00
tests fix: /config help returns structured section list (#344) 2026-06-05 07:09:48 +09:00
Cargo.toml fix(tui): safe stdout capture + focused OpenCode-style layout 2026-06-12 14:17:21 -05:00
build.rs fix: expose complete version provenance 2026-06-04 15:55:08 +09:00