Repository navigation
fix(voice): add chat read-aloud and fix speech recognition setup - #4478
Merged
Merged
Conversation
lijiayang619
requested review from
Dallas98,
WMC001,
YehongPan,
hhhhsc701 and
jeffwu-1999
as code owners
November 27, 2026 07:53
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
added 5 commits
November 27, 2026 17:37
jeffwu-1999
approved these changes
Nov 30, 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.
1.聊天回复支持朗读。 在助手回复的操作栏新增「朗读/停止朗读」按钮,复用现有语音合成接口。只有在「模型设置 → 默认配置」中选了语音合成模型,才显示按钮。切换会话或将模型设为「不使用」时,自动停止朗读。

2.修复语音识别连通性检测失败。 Runtime 镜像此前漏打包检测用的 test_voice.pcm,导致检测在请求语音服务前就失败。现在构建镜像时会打包该文件,并新增回归测试。

3.调整千问实时语音识别的断句时间。 将默认静音阈值从 2 秒延长到 4 秒,减少用户说话时短暂停顿造成的过早断句。单测验证了实时会话发送的参数为 4000 毫秒。
4.支持火山流式语音识别 2.0 小时版。 新增模型配置 volc.seedasr.sauc.duration,通过 bigmodel_async 执行连通性检测和聊天转写。已有 1.0 小时版配置继续使用 speech_istreaming,无需迁移。火山识别请求日志也移除了鉴权头内容。

5.补全中英文语音模型配置文档。 增加阿里云百炼和火山引擎的模型名称、Base URL、凭据填写位置,以及检测、设为默认、麦克风转写和回复朗读的操作步骤。
