Agent Typescript framework - when switching an Ope...
# ask-ai
f
Agent Typescript framework - when switching an OpenAI RealTime model to 'half-duplex' mode - what configuration changes are needed. DeepWiki resource suggests I must manually set
outputAudioFormat: null
- but I find DeepWiki's suggestions highly unreliable.
t
Thanks for reaching out, Steve. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking what configuration changes are needed to switch an OpenAI RealTime model to half‑duplex in the Agent TypeScript framework (and whether
outputAudioFormat: null
is required). I don't have the specific framework details on hand, so I need one quick clarification to give a precise answer: Which Agent TypeScript framework version or package are you using (exact package name and version or a link to your repo/file)? Also paste the current agent config snippet you have (or the parts that set the model, audio input/output, and any duplex/transport flags). With that I can tell you exactly which fields to change and whether
outputAudioFormat: null
is necessary, plus a minimal example config you can copy.
f
I am using v1.0.24, of the Agent framework for TypeScript - released earlier today.
t
Thanks — you're on v1.0.24. To give an exact, safe change I need to see the part of your agent config that defines the model and audio settings. Please paste the config snippet that includes: •
model
(OpenAI RealTime model name) • any
audioInput
/
inputAudioFormat
fields • any
audioOutput
/
outputAudioFormat
fields • any
duplex
,
mode
, or
transport
flags If you can't share the full snippet, paste just these keys and their values. Once I see that I’ll tell you the minimal edits required to switch to half‑duplex and whether
outputAudioFormat: null
is needed.
f
model: 'gpt-realtime'
modalities: [ 'audio', 'text' ]
I have not [re]defined any 'audio', 'duplex', 'mode' or 'transport' settings.
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
f
It's precisely because I don't trust DeepWiki to give accurate non-bs answers that I asked you.
OK - so what information can you provide about TypeScript RealTime agents in Half-Duplex mode?