What's New
- Fixed false
429 RESOURCE_EXHAUSTED("Quota will reset after 2h") with Claude Code's default system prompt (#408, #410). Since Claude Code 2.1.325, parts of its default system prompt (the security-testing policy line and the<pasted_content>guidance) make Google's Cloud Code API reject the request with a 429, even when quota is untouched. The proxy now sends Claude Code's system prompt in the first user turn instead ofsystemInstruction, which Google accepts. Verified on Gemini and Claude models, with tool calls, and the system prompt is still followed.
Contributors
Thanks to @gottematias for tracking down the cause and proposing the workaround, and @matchaaugust813 for the detailed report and A/B testing in #408!