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> |
||
|---|---|---|
| .. | ||
| api | ||
| claw-analog | ||
| claw-rag-service | ||
| commands | ||
| compat-harness | ||
| mock-anthropic-service | ||
| plugins | ||
| runtime | ||
| rusty-claude-cli | ||
| telemetry | ||
| tools | ||