---
type: email
from: Landon Stewart <notifications@github.com>
subject: Re: [openai/openai-agents-python] GPT-5 + tool calls: Error code: 400

 - Item 'rs_...' of type 'reasoning' was provided without its required

 following item. (Issue #1660)
received: 2026-03-06 07:44:27
date_header: Thu, 25 Sep 2025 17:46:29 -0700
priority: normal
status: awaiting_approval
uid: 31355
---

## Email Content

**From:** Landon Stewart <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] GPT-5 + tool calls: Error code: 400

 - Item 'rs_...' of type 'reasoning' was provided without its required

 following item. (Issue #1660)
**Date:** Thu, 25 Sep 2025 17:46:29 -0700

### Body (preview)

LandonStewart left a comment (openai/openai-agents-python#1660)



Inspect the request body being sent to OpenAI:

   - Look for {“type”: “reasoning”, …} entries in the input array.

   - Ensure every one of these is immediately followed by a {“type”: “message”, …} entry.



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/issues/1660#issuecomment-3336401881

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



Message ID: <openai/openai-agents-python/issues/1660/3336401881@github.com>

---

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