fix(web): keep rectification interview planning out of the spoken answer
Thinking is disabled, so Chinese process talk after tools arrives as text-delta. Widen the leak-net so tool-label echoes and internal field names stay out of answer.delta, and keep the user-facing follow-up. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+17
-1
@@ -5415,7 +5415,7 @@
|
||||
- 修复:保持 `thinking: disabled` 与 16384 正文预算。对已加载 Case 的 `text-delta` 按段落拆成过程自述与口语结论:自述进 `thinking.delta`,结论进 `answer.delta` 并作为落盘正文。界面与咨询对齐:折叠「思考」(13px 次要色,有正文后默认收起)和完整「回复」。
|
||||
- 验证:`frontend/tests/rectification-spoken-answer.test.ts`、`frontend/tests/rectification-v9-stream.test.ts`、`frontend/tests/rectification-agentic-entry.test.ts`、`frontend/tests/chat-stream-layout.test.ts`;`tsc --noEmit` 通过。口语/思考拆分的 `emit` 类型必须与 `RunV9AgentTurnInput.emit` 同为 `Promise<void> | void`,否则 Docker `next build` 会在 publish 阶段失败。
|
||||
- 防复发:纠正组答不得在不拆开正文预算的情况下重开 provider thinking 来充当思考 UI。`answer.delta` 不得承载 skill/schema/batch 过程自述。思考与回复必须分层渲染,不得共用同一段正文样式。
|
||||
- 相关记录:BUG-345、BUG-354、BUG-356
|
||||
- 相关记录:BUG-345、BUG-354、BUG-356、BUG-373
|
||||
- 复发自:BUG-345(关 thinking 后自述改走正文)、BUG-354(纠正与咨询一并关闭 provider thinking)
|
||||
- 修复版本:`f03a2706`
|
||||
|
||||
@@ -5531,6 +5531,22 @@
|
||||
- 复发自:无
|
||||
- 修复版本:未修复
|
||||
|
||||
## BUG-373 | 生时纠正把中文过程自述当成回答,工具完成标签和 occupation_note 漏进正文
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-08-25
|
||||
- 最近更新:2026-08-25
|
||||
- 影响面:`POST /api/rectification/agent`、`splitRectificationSpokenAndThinking`、已落盘 Turn 水合
|
||||
- 用户现象:工具进度(读取校正记录、整理证据、比较候选)之后,回复气泡里先出现大段自我规划:方法覆盖、occupation_note、open_question、还不能出牌、本轮对照了哪些分盘,最后才是对用户的一句追问。看起来像思考过程被当成推理结果。
|
||||
- 触发条件:provider thinking 关闭;模型在工具完成后的最终 `text-delta` 里先写中文过程自述,再写对用户的问题。
|
||||
- 根因:BUG-368 维持 `thinking: disabled`。漏检网只认旧的 `datePrecision` / `用户提到` / `让我调用 batch` 句式。新的规划句复制了公开工具完成标签和服务器字段名,整段被当成口语并落盘。末尾「本轮对照了…」与界面已有的技法句重复。
|
||||
- 修复:漏检网补上工具完成标签回声、occupation_note / method_followup_plan / open_question / not_separated 等内部字段,以及方法覆盖、不可分宽度、让我继续访谈等规划句。混有过程句和对用户提问时只保留口语。不改已哈希 Skill `10.0.11`。
|
||||
- 验证:`frontend/tests/rectification-spoken-answer.test.ts` 锁定规划段进思考、入职追问留在口语;`frontend/tests/rectification-v9-stream.test.ts` 锁定最终 `text-delta` 只把口语发成 `answer.delta`。
|
||||
- 防复发:禁止把工具完成标签、内部字段名或「本轮对照了」写进 `answer.delta`。thinking 关闭时漏检网必须覆盖中文规划句,不能只认英文 / batch / datePrecision。对用户说话的追问不得被一起丢掉。
|
||||
- 相关记录:BUG-357、BUG-359、BUG-368、BUG-360
|
||||
- 复发自:BUG-357(关 thinking 后用正则从正文切思考;句式换了就漏)
|
||||
- 修复版本:待发布
|
||||
|
||||
## BUG-372 | 生时纠正同一轮重复工具调用把已成功写入打成失败
|
||||
|
||||
- 状态:resolved
|
||||
|
||||
Reference in New Issue
Block a user