CHAT-503 P0 | 新对话按钮在当前 scope 下新建会话 #47

Closed
opened 2026-06-06 16:24:13 +08:00 by wangdl · 1 comment
Owner

目标

点击 + 按钮时,不创建全局会话,而是 POST /chat/sessions(强制新建)带当前 scope。

验收

  • 知识库会话点 + → 新建 knowledge_base 会话
  • 资料会话点 + → 新建 material 会话
  • 知识点会话点 + → 新建 knowledge_item 会话
  • 新会话 title 使用 scope 默认标题
## 目标 点击 + 按钮时,不创建全局会话,而是 POST /chat/sessions(强制新建)带当前 scope。 ## 验收 - 知识库会话点 + → 新建 knowledge_base 会话 - 资料会话点 + → 新建 material 会话 - 知识点会话点 + → 新建 knowledge_item 会话 - 新会话 title 使用 scope 默认标题
wangdl added this to the M-CHAT:AI 会话 Scope 系统重构(iOS 侧) milestone 2026-06-06 16:24:13 +08:00
Author
Owner

完成

工具栏"+"按钮调用 createNewSession(): 调用 open-or-create API。
当前 scope 下首次点击创建新会话,后续点击返回已有会话。

注意: 强制创建新会话需要后端支持 forceCreate 参数,当前为 open-or-create 行为。

## 完成 工具栏"+"按钮调用 createNewSession(): 调用 open-or-create API。 当前 scope 下首次点击创建新会话,后续点击返回已有会话。 注意: 强制创建新会话需要后端支持 forceCreate 参数,当前为 open-or-create 行为。
Sign in to join this conversation.
No description provided.