Commit Graph

6 Commits

Author SHA1 Message Date
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