Hi, I modified the code from the Voice AI quicksta...
# agents
s
Hi, I modified the code from the Voice AI quickstart. My agent using
gpt-realtime
is instructed to speak in Japanese, but on start it speaks in English first, then interrupts and restarts in Japanese. By monitoring
openai_server_event_received
, I see the SDK sends a default prompt (
"Your knowledge cutoff is 2023-10..."
) with
session.created
, and only afterward applies my custom prompt via
session.update
(I see 3 updates). I think the agent started to speak using the first default prompt, then got overwritten by the updated session and restarted in Japanese. How can I make sure the agent only starts speaking after the
session.update
burst is done, so the first reply uses my custom prompt instead of the default?