Optionalllm?: LlmProvider | stringSee AgentDef.llm; a string is gateway model-id shorthand. Unset → the default AssemblyAI LLM Gateway model.
Optionals2s?: undefinedOptionalstt?: SttProviderSee AgentDef.stt. Unset → the default AssemblyAI STT.
See AgentDef.tts. The voice rides on the descriptor.
Optionalvoice?: "`voice` picks the default pipeline's TTS voice — an explicit `tts` descriptor owns its own voice (e.g. `assemblyAITts({ voice })`); set it there or remove `tts`"Optionaltts?: undefinedOptionalvoice?: AssemblyAITtsVoiceTTS voice for the default AssemblyAI pipeline — shorthand for
tts: assemblyAITts({ voice }). See ASSEMBLYAI_TTS_VOICES
(from @alexkroman1/aai/tts) for the catalog; a name outside it
fails in-band after connect and leaves the agent silent.
Pipeline-mode params: any subset of the provider triple (unset stages run on the default all-AssemblyAI pipeline), never
s2s. Thevoiceshorthand picks the default pipeline's TTS voice; an explicitttsdescriptor owns its voice, so combining the two is a compile error naming the rule.