Gemini 2.5 Pro with empty response.text

this bug is infuriating and ridiculous, 100% sure they are not solving this since it has been happening from MONTHS and basically makes it impossible to deploy a functional chat agent with gemini 2.5