Repository navigation
组合式语音 Agent:删除确认硬保证、字段裁剪降本与稳定性修复 - #362
Merged
LUPENGHAN merged 11 commits intoAug 24, 2026
Merged
Conversation
yyy-router
marked this pull request as ready for review
August 24, 2026 10:31
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
LUPENGHAN
approved these changes
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 issue:#361
概述
优化组合式语音(composed voice,
TIMEFLOW_VOICE_AGENT_MODE=2)LLM 环节的稳定性、删除安全性与成本。改动
删除确认硬保证
schedule_delete改为代码层强制确认:只有在本轮用户刚回答过confirmation或recurrence_scope时才放行,否则注入 refusal 强制模型回头确认。字段裁剪降本
composed 与 realtime 两个 agent 的 schedule 结果改为白名单序列化(约 25 字段 → 13/14 字段),裁掉模型不读的内部字段。实测 input token 降约 73%,input:output 从 203:1 降到 61:1。
稳定性与日期修复
end_conversation的处理。修复
occurrence_overrides)。temperature请求体测试未同步。验证