fix(subagent): 实验开关改为滑动开关,修复开启态因 bg-primary 未定义而隐形

- Toggle 开启态改用已定义的 bg-blue-600(tailwind 配置无 primary 背景色,
  导致开启态滑轨透明、白色滑块在白底上不可见)
- 子代理开关移至模型下拉之后,统一使用滑动开关
This commit is contained in:
KimiSwitch Dev committed 2026-08-06 01:56:35 +08:00
1 parent 8aed04898c
commit 90cc4a16d2
3 files changed
+86 -21

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
## v0.7.1
### 实验功能设置:子代理模型配置
- 新增「子代理模型(次主力模型)」设置:选择次主力模型后,子代理默认绑定该模型,不再继承主模型
- 仅保存模型引用,子代理直接继承所选模型的上下文长度与思考模式,无需补丁配置
- 界面只读展示继承的上下文长度与思考模式
### 仪表盘用量统计
- 识别子代理请求(`__secondary__`):归为「子代理模型(估算)」独立展示,并缓存次主力模型定价,删除配置后历史记录仍稳定估算
- 自定义网关模型(未收录 models.dev)按官方同名模型跨 provider 匹配价格,不再落入兜底估算
### Downloads by platform
- **Windows**: `.msi` installer
- **macOS**: `.dmg` (unsigned — first launch needs right-click → Open) + `.app`
- **Linux**: `.deb` / `.AppImage` / `.rpm`