Interface SessionConnectOptions

Connection options for the agent session, controlling retry and timeout behavior for STT, LLM, and TTS connections.

interface SessionConnectOptions {
    llmConnOptions?: Partial<APIConnectOptions>;
    maxUnrecoverableErrors?: number;
    sttConnOptions?: Partial<APIConnectOptions>;
    ttsConnOptions?: Partial<APIConnectOptions>;
}

Properties

llmConnOptions?: Partial<APIConnectOptions>

Connection options for the language model.

maxUnrecoverableErrors?: number

Maximum number of consecutive unrecoverable errors from LLM or TTS before closing the session. Default: 3

sttConnOptions?: Partial<APIConnectOptions>

Connection options for speech-to-text.

ttsConnOptions?: Partial<APIConnectOptions>

Connection options for text-to-speech.