M-CHAT-A4 P1 | 切换会话后 scope 标签不更新 #58
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
发现
AIChatPage sessions sheet 允许切换到不同 scope 的会话,但
entryContext不变,导致:修复方案
loadSession 时从 ChatSession.scopeType/scopeId 重建 ChatEntryContext:
涉及文件
修复
loadSession 从 ChatMessage.scopeSnapshot 重建 entryContext,确保 scope 标签正确。
同时修复了问候语区分 scope。
涉及: AIChatViewModel.swift