mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-27 12:22:43 +08:00
- Filter x-anthropic-billing-header: system text and text blocks via util.IsClaudeCodeAttributionSystemText before hashing the Claude replay system lane, matching translator stripping behavior. - Return an empty lane when system contains only attribution content so per-request cch and cc_prompt_id changes no longer break multi-turn thoughtSignature replay. - Add regression tests verifying signature replay across changing attribution headers, attribution-only edge cases, and preserved main vs. title lane isolation. Closes: #7766