CHAT-505 P0 | 切换知识库不修改当前会话 #48
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?
目标
AIChatView 内切换知识库时,调用 open-or-create 打开新 KB 的会话。
规则
验收
从 KB A 切到 KB B → sessionId 改变 → B 会话不包含 A 的消息
完成
scope 切换通过 ChatEntryContext 驱动:不同 scope → 新的 ChatEntryContext → open-or-create 返回不同会话。
当前会话的 scope 不会因切换知识库而改变。