fix(cliproxy): keep native Haiku model name routed to Anthropic
Merged
SH
6d ago+21+21+01234567890123456789-5-5-0123456789
Problem
Fleet Claude lanes request claude-haiku-5-5, but the OAuth alias configuration renamed the native Claude model to claude-haiku. The full model request could then fall through to the OpenRouter compatibility route, where Claude Code requests are rejected by the provider path.
Change
- Fork the native Claude Haiku alias so both
claude-haiku-5-5andclaude-haikuremain available to the Haiku-only OAuth credential. - Keep the existing Haiku family exclusion policy and Anthropic provider-only restriction.
- Update the service documentation and regression coverage.
Verification
shellspec spec/cliproxyapi_spec.sh- 103 examples, 0 failuresshellspec spec/llm_update_spec.sh- 114 examples, 0 failuresbash scripts/llm-update.sh- generated configs unchangedgit diff --check origin/main...HEAD
Summary by cubic
Fixes Claude Haiku routing so requests for the upstream name claude-haiku-5-5 stay on the native Anthropic credential instead of falling through to OpenRouter, which rejects Claude Code requests.
- The OAuth alias previously renamed the model to
claude-haiku, breaking the full name. The alias now forks, so bothclaude-haiku-5-5andclaude-haikuremain routed to the Haiku-only credential. - Preserves the Haiku family exclusion policy and the Anthropic provider-only restriction; updates the service docs and regression coverage.