Repository navigation
fix(anthropic): present Claude Code 2.1.321 so Fable 5.2 is accepted - #8474
Merged
Merged
Conversation
Anthropic refuses claude-fable-5-2 below Claude Code 2.1.290 ("Claude Code 2.1.280 does not support
this model"). The proxy-generated identity now presents 2.1.321 with @anthropic-ai/sdk 0.128.0 on
runtime v26.12.1, the same baseline router-for-me/CLIProxyAPI#7392 measured for the identical 400.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
✅ Deterministic PR hygiene checks passed. |
Contributor
|
Caution Review failedThe pull request is closed.
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. |
This was referenced Nov 10, 2026
3 tasks done
jack-o-mania
added a commit
to alexalok/opencodex
that referenced
this pull request
Nov 11, 2026
Backport Fable 5.2 client identity from lidge-jun#8474 (00c0216) and per-account tray recoveries from #35 (21226c7). Keep all version mirrors at 2.96.7, one patch increment per feature. Current-head CI and external Codex code/security review passed for 2547c8e. Owner authorized integration and local installation; pinned upstream synchronization landed through #38. Co-authored-by: JUN <[email protected]> Co-authored-by: Aleksei Chistiakov <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Calling
claude-fable-5-2through an Anthropic OAuth (Claude subscription) route fails upstream with:opencodex presents a fixed Claude Code identity on those routes from
src/providers/claude-cli-identity.ts, and it was pinned at 2.1.280. This bumps it to 2.1.321:claude-cli/2.1.321 (external, cli)0.128.0v26.12.1router-for-me/CLIProxyAPI#7392, merged today for the identical 400, measured the same baseline with a mitmproxy capture of the real client. The locally installed Claude Code 2.1.319 binary carries the same SDK and runtime strings. The SDK pin also updates the API-key
@anthropic-ai/sdk/…User-Agent.Native passthrough that forwards a caller's own Claude Code identity is unchanged. A caller still on Claude Code < 2.1.290 needs
claude update.The other changes in that CPA PR do not apply here: beta-header reordering and the billing
cc_version. opencodex builds no version-specific billing header and only passes caller betas through its allowlist.Verification
bun test tests/clients/client-fingerprint.test.ts: 17 pass. A new regression test asserts the presented version is >= 2.1.290 and matches the User-Agent; it fails with the old 2.1.280 identity.bun run typecheck: clean.Checklist