Commit Graph

17 Commits

Author SHA1 Message Date
Maple_枫溪
9e944f7f85 fix: accept blank tool call arguments
Treat blank OpenAI-compatible tool call arguments as an empty dict so parameterless tools such as finish can execute with providers that return an empty string. Also trim model identifiers during config normalization to avoid leading whitespace leaking into requests and snapshots.
2026-05-05 05:06:26 +08:00
SengokuCola
120acb835f fix:优化图片识别,优化webui配置和排版,优化聊天流监控,新增mcp显示,新增prompt修改面板,优化插件状态显示,优化长期记忆控制台, 2026-05-04 18:19:00 +08:00
DrSmoothl
1fe9dc8786 feat: 更新 ConfigManager 初始化,支持配置自动升级并添加相应测试 2026-04-27 13:17:51 +08:00
DrSmoothl
2fb911a8d5 feat: 添加启动绑定地址解析功能,支持从配置文件和环境变量迁移 2026-04-04 20:13:04 +08:00
UnCLAS-Prommer
aaf1c9ed40 更严厉测试 2026-03-10 13:48:24 +08:00
UnCLAS-Prommer
3ea14a85c3 测试简化 2026-03-09 15:08:42 +08:00
DrSmoothl
dfa944b368 feat: 添加 _ready_event 以确保文件监视器在启动时准备就绪,优化监控逻辑 2026-03-09 15:04:58 +08:00
DrSmoothl
7e2ab0d71d feat(test): 移除 FileWatcher 中的 force_polling 参数,并添加等待时间以确保 watcher 建立基线 2026-03-09 14:57:59 +08:00
DrSmoothl
426cbc6190 feat(test): 在 FileWatcher 中添加 force_polling 参数以增强文件监控功能 2026-03-09 14:42:03 +08:00
DrSmoothl
5b7945ac7b feat: 添加 _wait_for 辅助函数以优化测试中的等待逻辑,调整 FileWatcher 的防抖设置 2026-03-09 14:35:54 +08:00
UnCLAS-Prommer
fbf946b352 更严厉测试 2026-03-08 17:26:51 +08:00
DrSmoothl
2a33fd1121 refactor(llm): enable hot-reload for model config and client runtime
make LLM task config resolution dynamic in LLMRequest
load model clients on demand from latest config
clear client instance cache on config reload
remove stale module-level model_config usage in llm_api
add hot-reload tests for LLM/config watcher flow
2026-03-04 21:56:50 +08:00
DrSmoothl
b3a81754e6 feat(config): harden file watcher hot-reload flow and add test coverage
refactor FileWatcher to subscription-based dispatch with path/change filters
add callback timeout, failure cooldown, auto-retry loop, and runtime stats
strengthen ConfigManager hot-reload with throttling, timeout guard, and watcher stats logging
add pytest suites for watcher behavior and config hot-reload edge cases
2026-03-04 21:39:26 +08:00
DrSmoothl
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +08:00
UnCLAS-Prommer
9186d14100 解决ConfigBase问题,更严格测试,实际测试 2026-01-15 17:05:23 +08:00
UnCLAS-Prommer
13f095f231 使用Sourcery的Test,修复测出来的Bug 2026-01-12 21:48:54 +08:00
UnCLAS-Prommer
207dc460cb ConfigBase and Test 2026-01-12 18:20:03 +08:00