mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-17 07:08:01 +08:00
Live replay showed Antigravity (cloudcode-pa) and AI Studio (generativelanguage) reject Vertex bare-Tink thought signatures with 400 "Corrupted thought signature", while Vertex accepts them natively. After recognizing bare-Tink as a Gemini envelope, history issued by Vertex and routed to those endpoints was replayed verbatim and failed. - add SanitizeNonVertexGeminiRequestThoughtSignatures, which treats bare-Tink as incompatible: the first functionCall in a group gets the bypass sentinel and other parts drop the signature - use it in the Antigravity, Gemini API and AI Studio executors; the Vertex executor keeps the preserving sanitizer - cover the endpoint split in the signature package and with mocked upstream bodies for the Gemini API and Antigravity executors
36 KiB
36 KiB