livekit-agents@1.2.3

livekit/agentslivekit-agents@1.2.3Aug 4, 2025by theomonnom

AI Summary

Patch release fixing various real-time generation issues, enabling gemini-live-2.5-flash-preview, and adding AWS Nova Sonic support.

Key Highlights

  • Enabled gemini-live-2.5-flash-preview.
  • Added AWS Nova Sonic voice support.
  • Fixed Gemini Realtime generate_reply.
  • Added modalities arg to OAI realtime model with Azure.
  • Added retry_on_chunk_sent to FallbackAdapter.

New Features

  • Gemini-live-2.5-flash-preview support.
  • AWS Nova Sonic voice.
  • OAI realtime modalities arg.
  • FallbackAdapter retry on chunk sent.

Full Release Notes

> [!NOTE]  
> **livekit-agents 1.2 introduced many new features. You can check out the changelog [here](https://github.com/livekit/agents/releases/tag/livekit-agents%401.2.0).**

previous patch version changelog [here](https://github.com/livekit/agents/releases/tag/livekit-agents%401.2.2) (1.2.2)

## What's Changed
* chore(assemblyai): update termination message by @dan-ince-aai in https://github.com/livekit/agents/pull/3001
* fix gemini realtime generate_reply by @longcw in https://github.com/livekit/agents/pull/3017
* pin the hedra avatar sample rate to 16k by @longcw in https://github.com/livekit/agents/pull/3027
* add metadata when set tracer provider by @longcw in https://github.com/livekit/agents/pull/3034
* Fix incorrect streaming flag for neuphonic by @alexshelkov in https://github.com/livekit/agents/pull/3036
* Gladia STT - fix region parameter to gladia stt on query parameters by @mfernandez-gladia in https://github.com/livekit/agents/pull/3018
* feat(azure-stt): add phrase list support for keyword boosting by @JohnBurtt10-bot in https://github.com/livekit/agents/pull/3024
* fix aws stt restarting by @longcw in https://github.com/livekit/agents/pull/2994
* improve tts error trace and expose cartesia error message by @longcw in https://github.com/livekit/agents/pull/3028
* add retry_on_chunk_sent to FallbackAdapter for allowing retry after chunk sent by @longcw in https://github.com/livekit/agents/pull/3033
* Fix RuntimeError on scheduling speech and on mark_generation_done by @jayeshp19 in https://github.com/livekit/agents/pull/3032
* add modalities arg to OAI realtime model with_azure by @longcw in https://github.com/livekit/agents/pull/3049
* enable - gemini-live-2.5-flash-preview by @yaniv-peretz in https://github.com/livekit/agents/pull/3016
* Update events.py with new AWS Nova Sonic voice by @lucasolinas in https://github.com/livekit/agents/pull/3048
* Updating minimal worker to connect to room by @sascotto in https://github.com/livekit/agents/pull/3065
* Fixing chunk size bug on inworld plugin-- matches hume and neuphonic by @thavidu in https://github.com/livekit/agents/pull/3067
* feat: use default load fnc and thresholds when hosting on Cloud by @davidzhao in https://github.com/livekit/agents/pull/3069
* fix: call on_attached or on_detached when set agent input and output by @longcw in https://github.com/livekit/agents/pull/3063
* fix using AgentTask in on_enter and on_exit by @longcw in https://github.com/livekit/agents/pull/3051
* use tts as fallback when realtime model returns text response by @longcw in https://github.com/livekit/agents/pull/3050
* add tts stream pacer to generate speech lazily by @longcw in https://github.com/livekit/agents/pull/3074

## New Contributors
* @alexshelkov made their first contribution in https://github.com/livekit/agents/pull/3036
* @JohnBurtt10-bot made their first contribution in https://github.com/livekit/agents/pull/3024
* @yaniv-peretz made their first contribution in https://github.com/livekit/agents/pull/3016
* @lucasolinas made their first contribution in https://github.com/livekit/agents/pull/3048
* @thavidu made their first contribution in https://github.com/livekit/agents/pull/3067

**Full Changelog**: https://github.com/livekit/agents/compare/livekit-agents@1.2.2...livekit-agents@1.2.3