OptionalapiOptionalinstructionsSystem instructions passed via session.update.
OptionalmodelRealtime model id. Defaults to OPENAI_REALTIME_MODEL.
OptionalroleAGENT (default) makes the model the agent under test. USER turns
it into the voice-enabled user simulator — scripted user("text")
steps route through sendText and bypass the TTS pipeline.
OptionaltoolsTool definitions passed straight through to the Realtime session.
OptionalurlOverride the Realtime endpoint URL. Defaults to
wss://api.openai.com/v1/realtime?model=<model>. Lets tests point at
a loopback WS server without subclassing the adapter.
OptionalvoiceVoice id (e.g. "alloy", "nova").
Explicit API key; falls back to
process.env.OPENAI_API_KEY.