fix(web): keep rectification replies as model text, hide thinking
Give the interview a hidden reasoning channel so planning leaves the spoken reply, publish terminal text-delta as-is, and stop regex or Case templates from replacing the model. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5531,6 +5531,38 @@
|
||||
- 复发自:无
|
||||
- 修复版本:未修复
|
||||
|
||||
## BUG-377 | 生时纠正直播回复必须是模型正文,不得用正则或 Case 模板顶替
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-08-25
|
||||
- 最近更新:2026-08-25
|
||||
- 影响面:`runV9AgentTurn`、纠正组 `thinking`、公开 `answer.delta`、生时纠正聊天气泡
|
||||
- 用户现象:关 thinking 后模型把规划写进 `text-delta`。漏检网按句式切口语,换一种说法就再次把规划当回复。用服务器按 Case 拼「已经记下」会丢掉模型自己的访谈措辞。
|
||||
- 触发条件:纠正组 `thinking: disabled`;公开流不发 `thinking.delta`。工具完成后的最终 `text-delta` 混有规划和对用户说话,或直播路径用正则 / Case 模板决定回复。
|
||||
- 根因:规划没有稳定表面形式,词表无法从同一段散文里拆出口语。关掉 provider thinking 后模型没有隐藏思维链通道,只能写进正文。用服务器叙述顶替正文等于不用大模型写对用户说的话。
|
||||
- 修复:直播用户可见回复是模型终端 `text-delta` 原样。打开 hidden thinking(`reasoning-delta`),正文预算与思维链预算分开,规划离开正文。公开流仍丢弃 `thinking.delta`。纠正 UI 不渲染 `thinkingText`,阶段仍来自工具进度。服务器叙述只在工具后没有正文时兜底。正则只用于旧 Turn 水合,不得再当直播分流。不改 Skill `10.0.11`。
|
||||
- 验证:`frontend/tests/rectification-v9-stream.test.ts`、`frontend/tests/rectification-agentic-entry.test.ts`、`frontend/tests/rectification-spoken-answer.test.ts`。
|
||||
- 防复发:禁止在 `runV9AgentTurn` 里用 `splitRectificationSpokenAndThinking` 决定 `answer.delta`。禁止用 Case 模板替换已有模型正文。禁止把 `thinking.delta` 发给纠正公开流或写成用户可见思考块。
|
||||
- 相关记录:BUG-357、BUG-368、BUG-373、BUG-374、BUG-376
|
||||
- 复发自:BUG-376(继续加正则切规划;随后一度误用服务器叙述顶替模型回复)
|
||||
- 修复版本:待发布
|
||||
|
||||
## BUG-376 | 生时纠正再次把中文规划写进回复:账本/草稿/探针/我应该
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-08-25
|
||||
- 最近更新:2026-08-25
|
||||
- 影响面:`POST /api/rectification/agent`、`splitRectificationSpokenAndThinking`、生时纠正聊天气泡
|
||||
- 用户现象:工具阶段(读取校正记录、整理证据、比较候选)之后,回复气泡里先出现大段自我规划:账本几件已确认、草稿待确认、当前探针、current_question、我应该继续访谈,最后才是对用户说的话。有一轮整段都是规划,没有口语。
|
||||
- 触发条件:纠正组 `thinking: disabled`;公开流不发 `thinking.delta`。模型把中文规划写进最终 `text-delta`。句式不在 BUG-374 漏检网里。
|
||||
- 根因:漏检网只认上一轮字段名(occupation_note / candidate_contrast_packet / 这意味着)。新规划改用「账本 / 草稿 / 探针 / 用户后面 / 我应该 / 根据规则 / current_question」。整段匹配失败后被当成口语并落盘。界面还把拆出的 thinkingText 渲成灰色思考块。
|
||||
- 修复:纠正聊天不再渲染思考正文,只保留阶段进度和口语。漏检网补上账本/草稿/探针等句式,仅用于旧 Turn 水合,不得当直播分流。直播根因由 BUG-377 处理:打开 hidden thinking,用户可见回复用模型 `text-delta`。不改 Skill `10.0.11`。
|
||||
- 验证:`frontend/tests/rectification-spoken-answer.test.ts`、`frontend/tests/rectification-v9-stream.test.ts`、`frontend/tests/rectification-agentic-entry.test.ts`。
|
||||
- 防复发:纠正 UI 不得把 `thinkingText` 当作用户可见输出。直播路径不得再靠加词表从正文切思考。规划必须走 `reasoning-delta`。
|
||||
- 相关记录:BUG-357、BUG-368、BUG-373、BUG-374、BUG-377
|
||||
- 复发自:BUG-374(关 thinking 后用正则从正文切思考;句式换了就漏)
|
||||
- 修复版本:待发布
|
||||
|
||||
## BUG-375 | 生时纠正分不开时 A/B/C/D 出不来,职业回答不计分,「没有了」不停问
|
||||
|
||||
- 状态:resolved
|
||||
|
||||
Reference in New Issue
Block a user