You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Turn detection language — AgentKit now manages Agora interaction language through TurnDetectionConfig.Language, validates it against the supported BCP-47 language list, and sends the default en-US when no language is provided.
Provider parameter parity — ASR, LLM, MLLM, TTS, and avatar wrappers expose typed provider parameters plus passthrough fields where the generated core supports additional properties.
Changed
Generated core refresh — Regenerated core types from the v2.1 API schema.
Deepgram TTS passthrough — NewDeepgramTTS now uses AdditionalParams for passthrough fields and flattens them into tts.params; the removed nested params.params shape is no longer documented or emitted.
OpenAI TTS — Docs and tests now reflect the generated core shape, including Instructions and Speed under tts.params.
TTS provider docs — Updated TTS provider reference tables to match implemented wrapper fields and generated core params.
Fixed
Managed-provider validation — AgentKit validation now distinguishes preset-backed providers from BYOK providers so required provider fields are only required when credentials are caller-supplied.
Language placement — Provider-specific STT language values remain under asr.params, while Agora interaction language is emitted separately as turn_detection.language.
Deepgram TTS explicit fields — AdditionalParams can no longer override explicit APIKey, Model, BaseURL, or SampleRate values.