AAI SDK
    Preparing search index...

    Type Alias S2sAgentParams<S>

    S2sAgentParams: SharedAgentParams<S> & {
        llm?: "`llm` cannot be combined with `s2s` — S2S runs the LLM loop service-side";
        s2s: S2sProvider;
        stt?: "`stt` cannot be combined with `s2s` — S2S runs STT service-side";
        tts?: "`tts` cannot be combined with `s2s` — S2S runs TTS service-side";
        voice?: "`voice` is pipeline-mode only — an S2S agent's voice rides on the `s2s` descriptor";
    } & { [K in PipelineOnlyField]?: PipelineOnlyMisuse<K> }

    S2S-mode params: an s2s descriptor, no pipeline providers, and the pipeline-only tuning knobs typed as PipelineOnlyMisuse so setting one fails with a message instead of silently doing nothing.

    Type Parameters

    Type Declaration

    • Optionalllm?: "`llm` cannot be combined with `s2s` — S2S runs the LLM loop service-side"
    • s2s: S2sProvider

      See AgentDef.s2s — the explicit opt-in to speech-to-speech mode.

    • Optionalstt?: "`stt` cannot be combined with `s2s` — S2S runs STT service-side"
    • Optionaltts?: "`tts` cannot be combined with `s2s` — S2S runs TTS service-side"
    • Optionalvoice?: "`voice` is pipeline-mode only — an S2S agent's voice rides on the `s2s` descriptor"