mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-16 22:57:53 +08:00
Anthropic now rejects claude-fable-5-2 from Claude Code versions older than 2.1.290, so every cloaked (non-Claude-Code) request for the model failed with 400 "Claude Code 2.1.280 does not support this model". Update the emulated CLI baseline to the measured 2.1.321 release: - User-Agent claude-cli/2.1.321, Stainless package 0.128.0, runtime v26.12.1, billing cc_version and default fallback version. - Rebuild Anthropic-Beta assembly from native 2.1.321 captures: thinking-token-count moves after advisor-tool, effort precedes dangerous-tool-use, message-threads is added when the body carries a thread object, mid-conversation-system is only sent when requested, and the quota probe omits the claude-code beta. - Recognize Fable 5.2 and Haiku 5.5 for progress display, per-turn control and effort handling, matching the observed client. - Add a regression test that reproduces each captured 2.1.321 beta header and the billing fingerprint. Fixes #7386