Commit Graph

4 Commits (f66e25b1a783faf083212c75a33872264e626dc1)

Author SHA1 Message Date
DrSmoothl f66e25b1a7
fix(webui): fix missing imports and create toml_utils module
- Create src/common/toml_utils.py with TOML utility functions
- Fix APIAdapterConfig → ModelConfig in config.py (4 locations)
- Fix git_mirror_service import path in plugin.py
- Fix emoji.py type annotations and unused imports
- Fix jargon.py comment (ChatStreams → ChatSession)
- All routers now import successfully
- Zero Peewee remnants verified across src/webui/
2026-02-17 20:19:37 +08:00
DrSmoothl 390d1daefd
refactor(webui): migrate jargon routes from Peewee to SQLModel
- 完全迁移到 SQLModel
- chat_id → session_id 映射
- ChatStreams → ChatSession 替代
- 移除 is_global 字段
- 使用 group_id 替代 group_name
2026-02-17 19:58:21 +08:00
DrSmoothl 60f76e4d4e
添加对 peewee 的旧数据库的兼容层,初步重构插件的 database API 2026-02-09 22:44:56 +08:00
墨梓柒 ffafbf0a26
WebUI后端整体重构 2026-01-13 07:24:27 +08:00