feat: add the 通用 settings page and rename the group to 常规
- 常规 now holds two pages: 通用 (the agent's tools and what it may know, as the web client's General page) and 聊天 (the follow-up behavior) - 通用 covers diagrams/prototypes, images with their model, secrets, notifications, memory with its background tidying (model and thinking level), project knowledge and usage limits - every switch reads and writes /api/config/settings, the same keys the web UI uses; keys the server does not store take its defaults - image models come from /api/model?types=image and the tidying model from the chat model list, both chosen in a sheet and clearable - bump to 0.5.0
This commit is contained in:
1 parent
2185054aab
commit
2f5ce61692
7 files changed
+486
-7
No files matched your search
@@ -5,6 +5,21 @@
|
||||
|
||||
---
|
||||
|
||||
## 0.5.0 设置「常规」分组与「通用」页(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
| --- | --- |
|
||||
| 分组 | 原来的【通用】分组改名【常规】,其下第一项新增【通用】页(智能体工具与记忆),第二项仍是【聊天】 |
|
||||
| 通用页 | 对照网页端的「通用」页补齐:**在聊天中** —— 图表和原型、图像(开启时可选图像模型)、密钥、通知;**智能体知道的内容** —— 记忆(服务端支持时才出现;开启时带「整理记忆」勾选、模型与思考级别)、项目知识、用量限额。每项都有与网页端一致的一句说明 |
|
||||
| 数据 | 全部走 `/api/config/settings?surface=mobile`,与网页端读写同一份设置;服务器未返回的键用网页端的默认值(图表/密钥/项目知识默认开,图像/通知/记忆/用量/整理记忆默认关),保存后以服务器返回的设置回填 |
|
||||
| 模型选择 | 图像模型取 `/api/model?types=image`,整理记忆模型取会话的模型列表,都在底部弹层里选;可以清空回「不指定 / 默认模型」;换模型会清空思考级别 |
|
||||
| 版本 | 版本号改为 **0.5.0(code 500)**,之后按 0.5.x 递增 |
|
||||
| 测试 | `test/settings_screen_test.dart` 增加「通用」页:分组标题、六个开关与网页端一致的默认值(记忆需要服务端能力才显示);88 项全过 |
|
||||
| 验证 | 模拟器(真实服务端):常规 → 通用;开关显示服务端当前值(图表关、图像开 + 图像模型 SenseNova U1.5 Lite、密钥开、通知关、记忆开、项目知识开、用量限额关)。开「图表和原型」后服务端 `agentRenderToolEnabled` 变 true;勾「整理记忆」出现模型行(AxonHub::deepseek-flash / 默认);图像模型弹层列出 Grok Imagine 与 SenseNova 并可清空回「不指定」;整理记忆弹层列出会话模型与「默认模型」。验证后把这两项改回原值 |
|
||||
| 版本 | **0.5.0(code 500)** |
|
||||
|
||||
---
|
||||
|
||||
## 0.4.17 设置按分组拆页,新增「关于」(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
|
||||
Reference in new issue
Block a user