ElevenLabs API key (xi-api-key).
OptionalfirstPer-session first message override.
OptionalsilenceZero-byte silence-tail length appended after user audio. Only consulted on
the "silence" commit path (and the "text" fallback when no transcript
is available). Defaults to SILENCE_TAIL_BYTES (~333 ms @ 24 kHz).
OptionalsystemPer-session system prompt override applied via
conversation_initiation_client_data. Lets demos use a different prompt
shape without mutating the shared test agent.
OptionalturnHow sendAudio commits a user turn. Defaults to "text" (explicit
user_message commit) so scripted turn 2+ reliably re-engages an agent
response (issue #567). Set to "silence" for the legacy pure-audio
server-VAD path. See TurnCommitMode.
OptionalwebWebSocket factory — injected for tests. Defaults to the ws package's
WebSocket constructor. Production callers should leave this unset.
ID of the ElevenLabs Conversational AI agent (provisioned in the EL dashboard).