mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
Merge adjacent same-role blocks and strip empty parts before sending to Gemini, avoiding 400 INVALID_ARGUMENT on consecutive same-role messages. Co-authored-by: Cursor <cursoragent@cursor.com>