mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-14 12:02:27 +08:00
Round-trip Grok encrypted reasoning via Anthropic thinking.signature and seed cache identity from Claude Code session IDs, so multi-turn /v1/messages traffic can hit xAI prompt cache more like CLIProxyAPI. Also strip invalid encrypted_content and retry on the Messages path when decrypt fails after account switches.