|
|
1c64718391
|
feat(api): bridge ApiProfileManager to all AI callers, fix config split
- Add core/api/api-resolver.js: getSlotProfile(slot) + providerToApiMode()
- core/api.js: getApiSettings() async, reads 'main' slot profile first
- NccsApi.js: getNccsApiSettings() async, reads 'nccs' slot profile first
- Ngms_api.js: getNgmsApiSettings() async, reads 'ngms' slot profile first
- JqyhApi.js: getJqyhApiSettings() async, reads 'jqyh' slot profile first
- All callers updated with await; legacy DOM/extension_settings as fallback
- .gitignore: add WorkDiary.md and Structure.md (local-only files)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-11 20:50:08 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
2c31e1cbc8
|
Initial commit with CC BY-NC-ND 4.0 license
|
2026-02-13 09:59:19 +08:00 |
|