We are testing a voice agent solution using the gpt-realtime API with openai-agents-js. We’re noticing that the response before tool calls isn’t showing up in the event handling. Example conversation:
assistant: Hello, thanks for calling. How can I assist you today?
user: Hello, what's my phone number?
assistant: Sure, let me get that for you. One moment.
tool: getCallerPhone
assistant: The phone number you're calling from is 555-555-5555.
The text “Sure, let me get that for you. One moment.” will be missing in the SDK’s output param (see the “agent_end” event in the docs) which looks like it’s because the “transcript” field is empty.
I filed an issue in the SDK (551 on github), but I suspect this could be a problem with the gpt-realtime API?