fix(web): persist generated session titles against the post-RPC title (BUG-557)

The first-round title guard compared the pre-RPC snapshot, so append_consultation_question had already rewritten the title and the model name never landed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-06 19:22:43 +08:00
parent e2d6f20361
commit 0102a973a3
9 changed files with 243 additions and 11 deletions
@@ -17,6 +17,14 @@
- ✅ 预期:标题变成大约 6–12 字的主题,例如「半年内换工作时机」这类总结,而不是第一句话截断加省略号。本人资料时侧栏没有「资料名 · 」前缀。
- ❌ 失败:一直停在「新对话」或「我想问一下…」;或标题里出现出生年月日、钟点;或界面出现「正在生成标题」之类提示。
## 1b. 生成中刷新后标题仍是模型总结(P0,BUG-557)
1. 新开一条普通咨询,发出一句虚构问题。
2. 回答还在生成时刷新页面(或换一个浏览器标签打开同一会话)。
- ✅ 预期:侧栏标题仍是模型总结,不是问题截断加省略号。
- ❌ 失败:刷新后变回「我想问一下最近半年换工…」这类截断句。
## 2. 校正和今日节奏标题不变(P0)
1. 打开生时校正会话。