Skip to content

bodhi-realtime-agent / InjectTextOptions

Interface: InjectTextOptions ​

Defined in: src/core/voice-session.ts:256

Options for VoiceSession.injectText.

Properties ​

mode ​

mode: "live" | "quiet"

Defined in: src/core/voice-session.ts:267

'live': realtime input the model responds to, as if the user had just said it (transport.sendLiveText, or sendContent(turns, true) on a transport without it).

'quiet': context added to the conversation without completing the turn (sendContent(turns, false)), so it prompts no response by itself.

Neither mode records the text in the session's ConversationContext.

Built with VitePress