Skip to content

fix(cliproxy): keep native Haiku model name routed to Anthropic - #3426

Merged
shunkakinoki merged 2 commits into
mainfrom
fix/cliproxy-haiku-native-fork
Nov 16, 2026
Merged

shunkakinoki merged 2 commits into
mainfrom
fix/cliproxy-haiku-native-fork

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

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-5 and claude-haiku remain 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 failures
  • shellspec spec/llm_update_spec.sh - 114 examples, 0 failures
  • bash scripts/llm-update.sh - generated configs unchanged
  • git 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 both claude-haiku-5-5 and claude-haiku remain 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.

Written for commit 585ea2c. Summary will update on new commits.

View guided diff Turn on auto-fix

@indent

indent Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Warning

This organization is out of credits, so Indent couldn't continue this review. Manage billing to resume reviews on this repository.

CI Checks

All required CI checks passed on 585ea2c.

Review agents

Select any unchecked box below to run or rerun that agent.

Pending (1)
  • Indent Review Agent · This agent has not run.
Full results

Indent Review Agent

  • Summary: This agent has not run.
  • Latest resultNo result — this agent has not run.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@shunkakinoki
shunkakinoki marked this pull request as ready for review November 16, 2026 08:12
@pullfrog

pullfrog Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This run was cancelled before it finished.

Pullfrog  | View workflow run | via Pullfrog

@shunkakinoki
shunkakinoki merged commit 634e3c0 into main Nov 16, 2026
17 of 18 checks passed
@shunkakinoki
shunkakinoki deleted the fix/cliproxy-haiku-native-fork branch November 16, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant