Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Jun 19:50
· 22 commits to main since this release
962ca97

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 passthroughNewDeepgramTTS 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 fieldsAdditionalParams can no longer override explicit APIKey, Model, BaseURL, or SampleRate values.