mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-12-03 00:00:58 +00:00
Recognize known Claude and Gemini signature envelopes without wrapping response signatures. Remove foreign thinking history while preserving compatible or unknown signatures, ordinary text, and tool history. Integrate cleanup into request field editing and reuse unchanged history. Keep counting and unknown model families untouched, without session caches. Cover native JSON/SSE, escaped fields, malformed envelopes, and model switches; document recognition and account compatibility boundaries. Co-authored-by: Codex <noreply@openai.com>