[Bug] Gemini 3.1 Pro leaking raw _thought blocks and stuck in infinite "Done" loop

Same here for Gemini web