Gemini again started producing empty responses

I believe I have fixed this issue by moving from end to end API to Vertex fixed it, I have posted more details in Gemini 2.5 Pro with empty response.text - #230 by Dumplin