BUG : file_search
annotations are coming up as ResponseAudioDeltaEvent
#2383
Labels
bug
Something isn't working
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
When using the Responses API,
file_search
annotations are being returned asResponseAudioDeltaEvent
instead of the expected annotation type. This appears to be a bug in how file search events are handled in the response payload.Expected Behavior
file_search
annotations should be returned with their correct event type (e.g.,FileSearchEvent
), not asResponseAudioDeltaEvent
.Actual Behavior
All
file_search
annotations are appearing asResponseAudioDeltaEvent
in the response annotations.To Reproduce
file_search
annotation.file_search
results are incorrectly labeled asResponseAudioDeltaEvent
.Code snippets
OS
Windows
Python version
v3.12.0
Library version
v1.82.0
The text was updated successfully, but these errors were encountered: