@livekit/agents@1.4.0
Minor Changes
voice.AMDreaches feature parity with python. - #1390 (@toubatbrian)
Patch Changes
-
fix(agents): support constructing
AgentSessionwith no arguments - #1410 (@u9g) -
AMD: cancel the pre-baked HUMAN/short_greetingsilence timer when a final STT transcript arrives inside the short-speech window, replacing it with along_speechtimer anchored atspeechEndedAt + MACHINE_SILENCE_THRESHOLD_MSso the LLM verdict gets the final word. Mirrors the python fix inlivekit/agents#5637. - #1390 (@toubatbrian) -
Port AMD improvements from python
livekit/agents#5584.voice.AMDnow exposes the previously hard-coded timing thresholds (humanSpeechThresholdMs,humanSilenceThresholdMs,machineSilenceThresholdMs) and the classificationpromptas constructor options, defers to the LLM (instead of forcing a HUMAN verdict) when a transcript is already available after a short greeting, and accepts aparticipantIdentityhint plus asuppressCompatibilityWarningflag. The classifier now offers two LLM tools —save_predictionandpostpone_termination(capped at 3 extensions × 10s) — letting the model request more audio when the transcript is ambiguous; if the model returns plain JSON instead of tool calls, AMD falls back to the previous content-parsing path. AMD also logs a one-shot warning when the resolved LLM is not in the bundledEVALUATED_LLM_MODELSlist. - #1368 (@toubatbrian) -
fix(inference): make
inference.LLMcompatible with openai >= 6.36.0 - #1411 (@u9g) -
Add comments to agent side and inference side fallback adapters - #1398 (@tmshapland)
-
refactor(agents): replace uuid with crypto.randomUUID - #1392 (@benasher44)
Fetched May 7, 2026
