OpenAI Agents SDK maxTurns After Approval, Tested
October 12, 2026
I ran @openai/agents 0.19.0 and 0.20.0 side by side. In 0.20.0 the model call after an approval counts toward maxTurns, so a resume at maxTurns 1 can now throw.
I ran @openai/agents 0.19.0 and 0.20.0 side by side. In 0.20.0 the model call after an approval counts toward maxTurns, so a resume at maxTurns 1 can now throw.