Describe the bug
When using openai-realtime webrtc transport, conversation.item.retrieve does not retrieve audio for model responses
Debug information
"@openai/agents": "^0.1.6",
"@openai/agents-openai": "^0.1.6",
"@openai/agents-realtime": "^0.1.6",
Repro steps
- start RealtimeSession with webrtc transport
- have at least 1 audio model response (assistant) in history
- get the item id for the model response
- send
conversation.item.retrieve for the id
- inspect the
conversation.item.retrieved event for the item for base64 audio content
Expected behavior
If the model provided a response, the server representation returned by conversation.item.retrieved should have the audio in base64. The model is responding in audio, so the server representation should be in audio.
This is according to your docs:
retrieve event call: https://platform.openai.com/docs/api-reference/realtime-client-events/conversation/item/retrieve
retrieved event response: https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/retrieved
Describe the bug
When using openai-realtime webrtc transport, conversation.item.retrieve does not retrieve audio for model responses
Debug information
Repro steps
conversation.item.retrievefor the idconversation.item.retrievedevent for the item for base64 audio contentExpected behavior
If the model provided a response, the server representation returned by conversation.item.retrieved should have the audio in base64. The model is responding in audio, so the server representation should be in audio.
This is according to your docs:
retrieve event call: https://platform.openai.com/docs/api-reference/realtime-client-events/conversation/item/retrieve
retrieved event response: https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/retrieved