You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Patch Changes
#229774acbf Thanks @eXamadeus! - Allow the reported Claude Code version to be configured via the ANTHROPIC_CLAUDE_CODE_VERSION environment variable. Anthropic gates model access on this value server-side and moves that gate on its own schedule, so a newly-gated model previously required waiting for a plugin release. Setting ANTHROPIC_CLAUDE_CODE_VERSION to a major.minor.patch value now overrides the bundled default for both places the version is reported — the user-agent header and the billing header's cc_version — which are resolved from a single value so they cannot disagree. The variable is read once at startup; a malformed value is logged as an error and the bundled version is used instead, and a value older than the bundled version is honored but logged as a warning, since reporting an older version is what triggers the gate in the first place. Thanks to @johnnymo87 for pointing out that a lower override silently defeats the purpose of the setting.