feat: 我的记忆独立页并迁出模型管理

This commit is contained in:
2026-09-20 16:15:03 +08:00
parent aac3424911
commit d7e4a987c1
5 changed files with 133 additions and 40 deletions
+4 -1
View File
@@ -251,6 +251,7 @@ SSE 事件:`token`(正文,可落库)/ `tool`(`{phase,name,label}` 状
- 聊天:`/agent/chat`,菜单「智能助手」(仅 `agent:chat`)
- 模型管理:`/agent/llm-settings`,一级菜单「模型管理」(仅 `agent:llm-settings`)
- 我的记忆:`/agent/memories`,头像下拉入口(有 `agent:chat` 时显示;静态路由)
- 聊天顶栏:`Select` 切换当前会话模型(PATCH `llmModel`);新对话草稿本地暂存,创建时带上
- 布局:**左会话列表 + 右消息区 + 底输入**;全页 `flex` + `min-h-0` 滚动(遵守现有 Spin/滚动规范)
@@ -261,7 +262,9 @@ views/agent/chat/
index.vue # 聊天:会话列表 + 消息 + 顶栏选模型
catalog-cite*.vue/ts # 店铺/商品引用输入
views/agent/llm-settings/
index.vue # 模型管理:凭证 / 启用列表 / 记忆
index.vue # 模型管理:凭证 / 启用列表
views/agent/memories/
index.vue # 我的记忆:列表 / 删除(用户中心入口)
api/agent/ # 调 Agent + Server 公司 LLM API
```