-
Notifications
You must be signed in to change notification settings - Fork 4k
BUG : file_search
annotations are coming up as ResponseAudioDeltaEvent
#2383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also happening on |
|
I am trying to figure out the problem and fix it. I will let you know til this weekend(~6.8) |
I also confirm to have the same issue, obtaining the event.type 'response.output_text.annotation.added' instead of the expected 'response.output_text_annotation.added' that is documented |
still hapenning on 1.84.0 |
I am also getting this issue |
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: