Description
Hi! In some rare cases, the agent I am running finishes with an empty message. I have a two-agent setup where one agent is researching information and then performs a hand-off to the agent that is supposed to prepare the final answer (both are using o4-mini models).
This is a rare behaviour, when the second agent just provides no output and stops. I tried to debug the code in my app, but then I looked at the traces and it seemed like the API request went through normally, but just returned nothing.

I suppose this isn't related to the SDK either, but I am just trying to figure out what could be the reasons for the model return an empty message?
We are on the higher tier (30k RPM), so rate limiting shouldn't be an issue.
Environment
- Agents SDK v0.0.17
- Python 3.11.0