Files
ProxyPilot/internal
RCDandClaude a7fa518584 fix: skip empty text parts and messages for Gemini API
Cherry-picked from upstream 2666708c

When Claude API sends an assistant message with empty text content,
the translator was creating an empty part, causing Gemini API to return
"required oneof field 'data' must have one initialized field" error.

Co-Authored-By: Claude (gemini-claude-opus-4-5-thinking) <noreply@anthropic.com>
2026-02-01 11:29:47 +07:00
..