Skip to content

chore(deps): update dependency livekit-agents to v1#4

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/livekit-agents-1.x
Open

chore(deps): update dependency livekit-agents to v1#4
renovate[bot] wants to merge 1 commit intomainfrom
renovate/livekit-agents-1.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Apr 12, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
livekit-agents ~=0.12~=1.4 age confidence

Release Notes

livekit/agents (livekit-agents)

v1.4.0

Compare Source

Python 3.14 Support & Python 3.9 Dropped

This release adds Python 3.14 support and drops Python 3.9. The minimum supported version is now Python 3.10.

Tool Improvements

Tools and toolsets now have stable unique IDs, making it possible to reference and filter tools programmatically. Changes to agent configuration (instructions, tools) are now tracked in conversation history via AgentConfigUpdate.

LLMStream.collect() API

A new LLMStream.collect() API makes it significantly easier to use LLMs outside of AgentSession. You can now call an LLM, collect the full response, and execute tool calls with a straightforward API — useful for background tasks, pre-processing, or any workflow where you need LLM capabilities without the full voice agent pipeline.

from livekit.agents import llm

response = await my_llm.chat(chat_ctx=ctx, tools=tools).collect()

for tc in response.tool_calls:
    result = await llm.execute_function_call(tc, tool_ctx)
    ctx.insert(result.fnc_call)
    if result.fnc_call_out:
        ctx.insert(result.fnc_call_out)

Manual Turn Detection for Realtime Models

Realtime models now support commit_user_turn, enabling turn_detection="manual" mode. This gives you full control over when user turns are committed — useful for push-to-talk interfaces or scenarios where automatic VAD-based turn detection isn't ideal.

@​ctx.room.local_participant.register_rpc_method("end_turn")
async def end_turn(data: rtc.RpcInvocationData):
    session.input.set_audio_enabled(False)
    session.commit_user_turn(
        transcript_timeout=10.0,
        stt_flush_duration=2.0,
    )

Job Migration on Reconnection

When the agent server temporarily loses connection and reconnects, active jobs are now automatically migrated rather than being dropped. This significantly improves reliability during transient network issues.

False Interruption Fix

Fixed a bug where late end-of-speech events could trigger duplicate false interruption timers, causing the agent to incorrectly stop speaking. The agent now properly deduplicates these events and tracks STT completion state more reliably.

New Providers & Plugins
  • xAI Responses LLM — Use xAI's Responses API via xai.responses.LLM()
  • Azure OpenAI Responses — Azure-hosted Responses API via azure.responses.LLM(), with support for deployments and Azure auth
  • Camb.ai TTS — New TTS plugin powered by the MARS model family (mars-flash, mars-pro, mars-instruct), with voice selection, language control, and style instructions
  • Avatario Avatar — Virtual avatar plugin with session management and API client

What's Changed

New Contributors

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.3.12...livekit-agents@1.4.0

v1.3.12

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.3.11...livekit-agents@1.3.12

v1.3.11

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.3.10...livekit-agents@1.3.11

v1.3.10

Compare Source

What's Changed

Provider tools

This release brings the ability to use tools that are specific to model providers with provider tools. You can now mix & match function tools and provider tools in your agent by specifying Agent(tools=[..]).

For those that were using the experimental _gemini_tools parameter with Google LLMs, that experimental parameter has been removed in favor of provider tools. See usage example here.

New Contributors

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.3.9...livekit-agents@1.3.10

v1.3.9

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.3.8...livekit-agents@1.3.9

v1.3.8

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.3.7...livekit-agents@1.3.8

v1.3.7

Compare Source

What's Changed


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/livekit-agents-1.x branch from 298dfac to 588eb6f Compare June 14, 2025 19:40
@renovate renovate bot force-pushed the renovate/livekit-agents-1.x branch from 588eb6f to 46a415c Compare July 26, 2025 07:54
@renovate renovate bot force-pushed the renovate/livekit-agents-1.x branch from 46a415c to 1c66299 Compare November 19, 2025 19:52
@renovate renovate bot force-pushed the renovate/livekit-agents-1.x branch from 1c66299 to 346ff0e Compare February 7, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants