Skip to content

bodhi-realtime-agent / SessionUpdate

Interface: SessionUpdate ​

Defined in: src/types/transport.ts:294

Partial session update — used for updateSession() and transferSession().

Properties ​

instructions? ​

optional instructions?: string

Defined in: src/types/transport.ts:295


providerOptions? ​

optional providerOptions?: Record<string, unknown>

Defined in: src/types/transport.ts:305


responseModality? ​

optional responseModality?: "text" | "audio"

Defined in: src/types/transport.ts:299

Response modality override. Used to preserve text mode across agent transfers and reconnects when TTSProvider is configured.


tools? ​

optional tools?: ToolDefinition[]

Defined in: src/types/transport.ts:296


transcription? ​

optional transcription?: object

Defined in: src/types/transport.ts:304

Toggle server-side audio transcription. input: false disables transcription of user audio (used when an external STT provider is the source of truth). Implemented by both transports — OpenAI maps to audio.input.transcription = null, Gemini maps to its inputAudioTranscription config.

input? ​

optional input?: boolean

output? ​

optional output?: boolean

Built with VitePress