Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Mar 12:01
· 319 commits to main since this release
d194a83

Fixed

  • AresSTT — Removed redundant language key from the params dict. Language is now emitted only at the top level. params is only included when additionalParams is provided.
  • OpenAIRealtime / VertexAI (MLLM) — Agent-level greeting, failureMessage, and maxHistory overrides are now correctly applied when the agent is in MLLM mode. Previously these values were silently dropped.
  • VertexAI (MLLM) — messages is now correctly placed inside params (required by the Gemini Live API). Previously it was emitted at the top level and silently ignored.

Changed

  • OpenAITTS — Renamed constructor option key → apiKey to match the Agora server API expectation. ⚠️ Breaking change.
  • CartesiaTTS — Renamed constructor option key → apiKey. Voice is now serialized as {"mode": "id", "id": "<voiceId>"} instead of a flat voice_id string. ⚠️ Breaking change.
  • HeyGenAvatar — Removed legacy options avatarName, voiceId, language, version. Added agoraToken, avatarId, enable, disableIdleTimeout, activityIdleTimeout. The config now includes a top-level enable field (defaults true). ⚠️ Breaking change.

Added

  • OpenAITTS — New optional parameters: responseFormat (string, e.g. "pcm") and speed (number).
  • CartesiaTTS — voiceId user-facing option is preserved; voice is serialized to the required nested object format automatically.
  • RimeTTS — New optional parameters: lang (string), samplingRate (number, serialized as samplingRate), speedAlpha (number, serialized as speedAlpha).
  • OpenAIRealtime — New optional parameters: predefinedTools (string[]), failureMessage (string), maxHistory (number).
  • VertexAI (MLLM) — New optional parameters: predefinedTools (string[]), failureMessage (string), maxHistory (number).
  • HeyGenAvatar — New options: agoraToken (string), avatarId (string), enable (boolean, default true), disableIdleTimeout (boolean), activityIdleTimeout (number).