Responses API: response.code_interpreter_call_code.delta coming back as type ResponseAudioDeltaEvent
#2382
Labels
bug
Something isn't working
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
While using the new code interpreter functionality with the OpenAI package v1.82.0, and streaming events, the event for a
response.code_interpreter_call_code.delta
is coming back as part ofResponseAudioDeltaEvent
instead of as part ofResponseCodeInterpreterCallCodeDeltaEvent
:Here are the events I receive:
Then:
To Reproduce
openai
1.82.0 package.ResponseAudioDeltaEvent
but contain the following:I handle streaming events in the a similar way to (that all emit the correct event types):
Code snippets
OS
MacOS Sequoia 15.5
Python version
Python 3.12.10
Library version
openai 1.82.0
The text was updated successfully, but these errors were encountered: