---
type: email
from: Giulio <notifications@github.com>
subject: Re: [openai/openai-agents-python] openai.BadRequestError with

 gpt-oss-120b - Expected 2 output messages (reasoning and final), but got 3.

 (Issue #1468)
received: 2026-03-05 10:09:54
date_header: Mon, 18 Aug 2025 05:20:29 -0700
priority: normal
status: awaiting_approval
uid: 27943
---

## Email Content

**From:** Giulio <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] openai.BadRequestError with

 gpt-oss-120b - Expected 2 output messages (reasoning and final), but got 3.

 (Issue #1468)
**Date:** Mon, 18 Aug 2025 05:20:29 -0700

### Body (preview)

giuliohome left a comment (openai/openai-agents-python#1468)



I am quite confident that my workaround works. More likely I was not clear enough that I have modified the the openai source code under the venv so it is a sort of monkey patching... And as I have written I forced also the reasoning and the ectra_args to None. I went to the file from the exception stack at the level of the openai api responses call. I have an extensive usage of the agentic tool calls so I am quite sure my workaround works..Maybe I have not describe it accurately....



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/issues/1468#issuecomment-3196455379

You are receiving this because you are subscribed to this thread.



Message ID: <openai/openai-agents-python/issues/1468/3196455379@github.com>

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
