Commit Graph

7 Commits

Author SHA1 Message Date
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
7d16b9e596 Update print statement from 'Hello' to 'Goodbye' 2026-02-13 09:59:41 +08:00
088c57e229 添加假流功能的设置选项和事件绑定 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