153c0616d2
feat(api-config): add model fetch, connection test, and Google AI Studio support
...
- Add "获取模型" button: fetches /v1/models and populates datalist autocomplete
- Add "测试连接" button: tries GET /models first (free), falls back to minimal
type-specific request if endpoint unsupported; shows inline result
- Google AI Studio: auto-fill fixed endpoint URL, hide URL field, fetch models
via native v1beta/models?key= API, test via same endpoint
- Collapse Chat/Embedding/Rerank advanced params into <details> sections
- Simplify provider options: remove ambiguous "实验性全兼容" option
- Clear test result and model datalist cache on each modal open
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-10 23:19:51 +08:00
0be6a86e94
feat: add API config system, FilePipe backend, and ConfigManager
...
- ConfigManager: route sensitive keys (API keys) to localStorage,
migrate existing values out of extension_settings on startup
- ApiKeyStore: local/cloud storage modes with RSA+AES hybrid encryption
- ApiProfileManager: named connection profiles (chat/embedding/rerank)
with per-slot type-validated assignments
- FilePipe: complete IndexedDB backend (read/write/delete/list/stat)
- Amily2Bus: inject FilePipe via forPlugin() capability token
- UI: api-config-panel with profile CRUD and slot assignment
- TableSystemService: initial service layer scaffold
- logger.js: XSS fix
2026-03-10 22:07:15 +08:00
ed3f52a568
update input type to number
2026-02-26 18:00:40 +08:00
96b108b482
Merge branch 'SL-Dev-2602' of github.com:Wx-2025/ST-Amily2-Chat-Optimisation into SL-Dev-2602
2026-02-13 13:08:55 +08:00
3c7318492a
2602 dev init
2026-02-13 13:06:17 +08:00
SilenceLurker
42de8b54b3
Update CodeQL workflow branches and schedule
2026-02-13 13:06:17 +08:00
0d6f26c8d9
2602 dev init
2026-02-13 13:04:39 +08:00
0edb75fe1c
dev branch to new history root
2026-02-13 11:21:15 +08:00
SilenceLurker
f0755afce5
Update CodeQL workflow branches and schedule
2026-02-13 09:59:41 +08:00
91099cd27a
Update version number in manifest.json
...
Updated version number from 1.8.4-a to 1.8.4 in manifest.json.
2026-02-13 09:59:41 +08:00
f1bd3b1027
Update print statement from 'Hello' to 'Goodbye'
2026-02-13 09:59:41 +08:00
7d16b9e596
Update print statement from 'Hello' to 'Goodbye'
2026-02-13 09:59:41 +08:00
1ac8dd58b4
Refactor HTML structure and styles for amily2 modal
2026-02-13 09:59:41 +08:00
82dd5a8667
Update print statement from 'Hello' to 'Goodbye'
2026-02-13 09:59:41 +08:00
9861757970
更新版本信息为1.8.4-a
2026-02-13 09:59:41 +08:00
fb682e94a9
页面调整
2026-02-13 09:59:41 +08:00
088c57e229
添加假流功能的设置选项和事件绑定
2026-02-13 09:59:41 +08:00
1662fc4eca
fix
2026-02-13 09:59:41 +08:00
6207399565
rollback
2026-02-13 09:59:41 +08:00
403d558762
fix
2026-02-13 09:59:41 +08:00
593492eec9
fix
2026-02-13 09:59:41 +08:00
20c06427af
fix
2026-02-13 09:59:41 +08:00
46eb943904
fix
2026-02-13 09:59:41 +08:00
8e87a8d297
优化 _buildProfilePayload 方法,全面继承 Profile 属性并规范化关键字段,确保参数完整性和兼容性
2026-02-13 09:59:41 +08:00
5fe572c433
重构参数合并逻辑,封装 Profile 参数提取至 _buildProfilePayload 方法,确保后端正确应用预设配置
2026-02-13 09:59:41 +08:00
19695f3828
修复预设模式下的参数合并逻辑,确保后端正确应用配置,优化请求有效性
2026-02-13 09:59:41 +08:00
eb429c474e
优化 callNccsAI 函数,增强配置管理和兼容性,自动收集额外参数,改进日志记录
2026-02-13 09:59:41 +08:00
8672df9311
重构项目架构,添加 Nccs API 设置,优化流式支持逻辑
2026-02-13 09:59:41 +08:00
3d6a3d2f97
增强 NccsApi 和 Amily2Bus 的注册逻辑,添加 FakeStream 设置选项,优化初始化流程
2026-02-13 09:59:41 +08:00
3168575277
fix
2026-02-13 09:59:41 +08:00
1914884a8b
优化 ModelCaller 的日志记录和流式处理逻辑,增强 SSE 解析能力
2026-02-13 09:59:41 +08:00
80348ded2c
移除 Logger 类中 process 方法的调试输出,使用注释替代
2026-02-13 09:59:41 +08:00
4058386c01
修复 ModelCaller 中的导入路径,确保正确引用 amilyHelper
2026-02-13 09:59:41 +08:00
1e20ce79a1
添加 ModelCaller 和 Options 类,重构 Logger,增强 Amily2Bus 架构,更新 README 和 TODO 文件
2026-02-13 09:59:41 +08:00
2c31e1cbc8
Initial commit with CC BY-NC-ND 4.0 license
2026-02-13 09:59:19 +08:00