Commit Graph

16 Commits

Author SHA1 Message Date
DrSmoothl
742e21a727 feat: Add LLM Provider support in plugin runtime
- Introduced LLM Provider declarations in plugin manifests, allowing plugins to specify their LLM capabilities.
- Implemented validation for LLM Provider declarations to prevent duplicates and conflicts.
- Enhanced the PluginRunner to handle LLM Provider invocation requests, enabling plugins to interact with LLM Providers seamlessly.
- Added a ClientRegistry to manage LLM Provider registrations and ensure no conflicts arise between different plugins.
- Created a PluginLLMClient to facilitate communication with LLM Providers through the plugin runtime.
- Developed tests to ensure proper registration and conflict handling of LLM Providers.
2026-04-27 16:49:44 +08:00
SengokuCola
9759018a0c feat:支持模型缓存和相关配置 2026-04-25 13:53:30 +08:00
DrSmoothl
777d4cb0d2 feat: Enhance OpenAI compatibility and introduce unified LLM service data models
- Refactored model fetching logic to support various authentication methods for OpenAI-compatible APIs.
- Introduced new data models for LLM service requests and responses to standardize interactions across layers.
- Added an adapter base class for unified request execution across different providers.
- Implemented utility functions for building OpenAI-compatible client configurations and request overrides.
2026-03-26 16:15:42 +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
UnCLAS-Prommer
77725ba9d8 逐步适配新的config 2026-01-15 23:51:19 +08:00
foxplaying
b4f6b6e7b7 fix 2025-09-24 21:03:49 +08:00
墨梓柒
163dbb6b90 超级Ruff 2025-09-09 19:25:12 +08:00
墨梓柒
fab4656185 优化异步处理,避免事件循环问题并增强错误日志记录 2025-08-19 17:05:07 +08:00
UnCLAS-Prommer
d65f90ee49 增加缓存层提高性能 2025-08-09 11:40:29 +08:00
UnCLAS-Prommer
9afa549aee 让Gemini的图像可用,修复部分typing 2025-08-03 00:49:19 +08:00
UnCLAS-Prommer
75689d760d ruff 2025-08-01 14:33:24 +08:00
Windpicker-owo
fcaa78f9a5 删除了add_file_content 2025-08-01 12:49:09 +08:00
Windpicker-owo
25cb8d41bb 修复了语音识别功能 2025-08-01 03:32:00 +08:00
UnCLAS-Prommer
42a33a406e 增加extra_params功能 2025-07-31 01:04:14 +08:00
UnCLAS-Prommer
3c40ceda4c 大修LLMReq 2025-07-30 09:45:13 +08:00
墨梓柒
909e47bcee 初步重构llmrequest 2025-07-25 13:21:48 +08:00