CHAT-501 P0 | AIChatView 接入 open-or-create 接口 #45
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 不再猜 scope。初始化时通过 ChatEntryContext 调用 open-or-create API。
逻辑
完成
AIChatViewModel.load() 简化:
直接调用 POST /rag-chat/sessions (open-or-create)。后端根据 scope 自动返回已有会话或创建新会话。移除了冗余的 listSessions + scope matching 逻辑。