CHAT-503 P0 | 新对话按钮在当前 scope 下新建会话 #47
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?
目标
点击 + 按钮时,不创建全局会话,而是 POST /chat/sessions(强制新建)带当前 scope。
验收
完成
工具栏"+"按钮调用 createNewSession(): 调用 open-or-create API。
当前 scope 下首次点击创建新会话,后续点击返回已有会话。
注意: 强制创建新会话需要后端支持 forceCreate 参数,当前为 open-or-create 行为。