I’ve been usinng Gemini 2.5 pro, however, it will sporadically go into a loop where it continues to call a tool for several hours.
This relates to the call that took 5000+ seconds in the trace log above. Each time it successfully calls the tool. But then continue again. In some cases it has gone on for 37 hours.
However, then the same prompt is run again a few minutes later, it is fine and completes within a few seconds (see trace logs above).
Here are the error logs
Here is my billing chart.
Yesterday my app made 83 calls the gemini pro endpoint and it cost more than £400!!!
I’d be grateful if someone can look into this urgently. I’ve moved my workloads over to open AI from this morning and I’m not seeing any errors.