This repository was archived by the owner on Jun 3, 2025. It is now read-only.
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
BUG: ResponseReasoningItem in input items causes error #29
Open
Description
This occurs in two scenarios:
- during the run if the run executes a
reasoning agent
and handoff to anon-reasoning agent
- during the next run if the run executes a
reasoning agent
as the last agent
Since the reasoning item is in the input items of the non reasoning agent
during the cases above, API returns an error.
Related issue in the original SDK:
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
yusuf-eren commentedon Jun 1, 2025
Hi @bakikucukcakiroglu , Thanks for creating reasoning issues. For that issue, can we wait for the original implementation? In this library, I aim to follow the original patterns of implementation. Whenever they implement the feature, I will also implement it.
However, I can provide you with the TypeScript version of the workaround code. I tested it and it filters the
reasoning_item
;