Releases: livekit/agents-js
Releases · livekit/agents-js
Release list
@livekit/agents@1.9.0
Minor Changes
- Flag synchronous code that blocks agent event loops in telemetry and logs. - #2459 (@rosetta-livekit-bot)
- Adds
telemetry.loopMonitor. Stalls at or above 100 ms emit a back-datedevent_loop_blocked
span, a rate-limited warning, anlk.agents.event_loop.blocked_durationhistogram measurement,
and per-session stall summaries. Override the thresholds withLIVEKIT_AGENTS_LOOP_BLOCK_WARN_MS
andLIVEKIT_AGENTS_LOOP_BLOCK_ERROR_MS(defaults 100 ms / 500 ms);WARN_MS=0disables it.
- Adds
Patch Changes
-
Keep healthy STT providers available when fallback streams close with transcripts in flight. - #2381 (@swayamg20)
-
Fail fast with a clear error when a DuplexModel such as GPT-Live is started under a text simulation, which has no audio, instead of timing out on the first reply. - #2481 (@u9g)
-
Reject late inline AgentTasks on an outgoing activity so handoff and shutdown do not deadlock while draining non-cancellable tools. - #2488 (@swayamg20)
-
Place recorded audio where the sink reports it actually played, instead of inferring it from the moment playback finished. - #2327 (@longcw)