It seems this could be the pull request you are interested in.
There is no output_text helper content if there is no user-directed AI content produced.
The core issue is setting a max_output_tokens too low for the AI to finish its reasoning, or writing an output parser that expects only one output object in the list, while the first can be a reasoning summary item.
It is also possible to have an AI model that never transitions out of its reasoning container to direct text to the user, but produces a tool call you also are not looking for or which is hallucinated and not passed through the API due to no recipient, or a stop.