livekit-agents@1.2.11
livekit/agentslivekit-agents@1.2.11Sep 18, 2025by theomonnom
AI Summary
Patch release focusing on AgentSession shutdown improvements, enhanced OpenTelemetry tracing for token costs, and fixes for OpenAI Realtime compatibility with Azure.
Key Highlights
- Added explicit shutdown method for AgentSession.
- Enhanced OpenTelemetry tracing for Realtime Model Token/Cost.
- Fixed OpenAI Realtime with Azure when input_audio_noise_reduction is missing.
- Improved safety in ChatContext.truncate() method.
- Upgraded Cartesia default voice.
New Features
- Realtime Model Token/Cost tracing.
- AgentSession shutdown capability.
- Improved Azure OpenAI Realtime handling.
Full Release Notes
## What's Changed * add shutdown method for AgentSession by @tinalenguyen in https://github.com/livekit/agents/pull/3429 * fixes #3435 by @mrkowalski in https://github.com/livekit/agents/pull/3437 * fix(openai): correctly handle update_options for active sessions by @davidzhao in https://github.com/livekit/agents/pull/3448 * fix openai realtime with azure when input_audio_noise_reduction is not given by @longcw in https://github.com/livekit/agents/pull/3451 * feat: trace Realtime Model Token/Cost via OpenTelemetry by @longcw in https://github.com/livekit/agents/pull/3439 * fix oai realtime options with default null by @longcw in https://github.com/livekit/agents/pull/3458 * Bug fix: Safe handling in ChatContext.truncate() when fewer items than max_items by @adianliusie in https://github.com/livekit/agents/pull/3457 * fix silero vad speech_buffer_max_reached by @longcw in https://github.com/livekit/agents/pull/3452 * [Cartesia] Upgrade Default Voice by @chongzluong in https://github.com/livekit/agents/pull/3446 ## New Contributors * @adianliusie made their first contribution in https://github.com/livekit/agents/pull/3457 **Full Changelog**: https://github.com/livekit/agents/compare/livekit-agents@1.2.9...livekit-agents@1.2.11