Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions automations/livekit-agent/2026-06-12.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# LiveKit Agents 工程日报

## 覆盖时间

**2026-06-11 00:01 UTC — 2026-06-12 00:01 UTC**(与 cron 触发 `2026-06-12T00:01:54Z` 对齐)

数据来源:`git log`、`gh` API 查询 [livekit/agents](https://github.com/livekit/agents) `main` 合并 PR。

**本仓库([Seventhen/agents](https://github.com/Seventhen/agents) `main`)**:过去 24 小时内 **无新合并提交**;`HEAD` 仍为 `f9b68de7`(2026-05-27,[#5857](https://github.com/livekit/agents/pull/5857))。相对上游 **落后 102 个提交**(`f9b68de7..9d2df7f7`)。

**上游追踪(livekit/agents `main`)**:同期 **16 个已合并 PR**;以下要点均来自上游提交/PR 证据。

---

## 要点变更

- **livekit-agents@1.6.0 正式发布**([#6066](https://github.com/livekit/agents/pull/6066),21:35 UTC):全量包发布至 PyPI。里程碑特性包括 **异步工具**(`ctx.update()`、`ctx.with_filler()`,[#5841](https://github.com/livekit/agents/pull/5841)、[#5885](https://github.com/livekit/agents/pull/5885))、**simulation 基础设施**([#5688](https://github.com/livekit/agents/pull/5688) 及后续补丁)、barge-in 默认阈值支持([#5946](https://github.com/livekit/agents/pull/5946))等。影响:生产升级需评估 async tools API 与 simulation 行为变更;属 semver minor 大版本跃迁。

- **Simulation 栈第三轮迭代(3 PR)**:延续前两日变更,今日合入 [#6053](https://github.com/livekit/agents/pull/6053)(从 simulator participant attribute 读取 dispatch)、[#6055](https://github.com/livekit/agents/pull/6055)(simulation 模式不启动 worker HTTP server,修复并发 `lk agent simulate` 端口冲突)、[#6061](https://github.com/livekit/agents/pull/6061)(不缓存 pre-connect simulation_context miss)。影响:simulation 并发与 dispatch 元数据路径更可靠;与昨日 [#6036](https://github.com/livekit/agents/pull/6036)/[#6037](https://github.com/livekit/agents/pull/6037) 叠加后建议完整回归 text/audio 两种模式。

- **Agent handoff 异步工具路由修复**([#6049](https://github.com/livekit/agents/pull/6049),03:36 UTC):修复 session-scoped `AsyncToolset` 在 handoff 时被错误取消(LLM inference 步骤原地 flatten `tool_ctx` 导致路由映射丢失),以及 agent-scoped 非可取消 async tool 在 handoff 时被 hard-cancel 而非 await 完成。影响:多 agent 场景下长耗时 async tool 可跨 handoff 正确交付结果;与 1.6.0 async tools 特性直接相关,升级后应重点验证 handoff 路径。

- **Barge-in 阈值契约收紧**([#6034](https://github.com/livekit/agents/pull/6034),12:43 UTC):移除客户端硬编码 `THRESHOLD = 0.656` 回退;当用户未覆盖 **且** 服务端未提供 `default_threshold` 时,流以 non-retryable `APIStatusError`(500)**fail-fast**。影响:消除 observability 日志与真实服务端决策的静默偏差;若 barge-in 服务端未正确下发默认阈值,会话将直接失败而非带病运行。

- **Sarvam STT 语音时序回退修正**([#6052](https://github.com/livekit/agents/pull/6052),16:53 UTC):撤销昨日 [#5995](https://github.com/livekit/agents/pull/5995) 中基于 wall-clock/发送时钟的伪造 `end_time` 逻辑;`END_OF_SPEECH` 不再携带 fabricated timing,`FINAL_TRANSCRIPT` 仅使用 provider 返回的 `speech_start`/`speech_end`(无则 0.0,EOU 走 wall-clock)。影响:Sarvam 用户的 EOU metrics 行为与 Deepgram/AssemblyAI 等插件对齐;若已基于昨日时序数据调优 barge-in,需重新校准。

- **多插件 STT/TTS 补丁集群**:ElevenLabs stream API 补全缺失 flags([#6031](https://github.com/livekit/agents/pull/6031))、新增 `no_verbatim` STT 选项([#6032](https://github.com/livekit/agents/pull/6032));Deepgram batch 增加 `keyterm`([#6062](https://github.com/livekit/agents/pull/6062))、`update_options` 语言校验修复([#6041](https://github.com/livekit/agents/pull/6041));Neuphonic TTS 使用配置的 `encoding`/`lang_code`([#6064](https://github.com/livekit/agents/pull/6064));Google TTS `pitch` 类型 int→float([#6058](https://github.com/livekit/agents/pull/6058));AssemblyAI 新增 `agent_context`、`previous_context_n_turns` 及 `u3-rt-pro-beta-1` 模型([#6017](https://github.com/livekit/agents/pull/6017))。影响:插件用户可按需启用新参数;AssemblyAI Universal-3 Pro 上下文能力需单独验证 websocket `UpdateConfiguration` 路径。

- **工程卫生**:移除 next-release changeset 机制([#6054](https://github.com/livekit/agents/pull/6054));恢复 dev mode 日志格式([#6065](https://github.com/livekit/agents/pull/6065))。影响:发布流程简化;本地开发日志可读性恢复,无运行时行为变更。

---

## Watchlist

1. **1.6.0 大版本升级风险**:async tools、simulation、barge-in 阈值契约在同一 release 中合入;建议在预发环境按实际使用的 STT/TTS provider 与 multi-agent handoff 路径做端到端冒烟,特别关注 [#6049](https://github.com/livekit/agents/pull/6049) 长耗时 tool 跨 handoff 与 [#6034](https://github.com/livekit/agents/pull/6034) fail-fast 阈值缺失场景。

2. **Sarvam 时序行为反复**:[#5995](https://github.com/livekit/agents/pull/5995)(5/25 合入)与今日 [#6052](https://github.com/livekit/agents/pull/6052)(回退伪造时序)形成快速修正链;若生产使用 Sarvam STT 且依赖 EOU metrics,需确认 1.6.0 下 metrics 与 barge-in 调优基线是否需重置。

3. **Fork 漂移扩大至 102 提交**:本仓库 `main` 已连续 **16 天无合并**,上游今日发布 1.6.0 并含 simulation 第三轮 + handoff 修复;若生产基于本 fork,需计划 bulk sync,优先 cherry-pick [#6066](https://github.com/livekit/agents/pull/6066) release 栈、[#6049](https://github.com/livekit/agents/pull/6049) handoff 修复与 simulation 补丁([#6053](https://github.com/livekit/agents/pull/6053)–[#6061](https://github.com/livekit/agents/pull/6061))。

---

*生成时间:2026-06-12(自动化 cron)*