Pretor/pretor
朝夕 4a0679fe2c
Feat/deepseek adapter dropin 14224636701039833263 (#48)
* fix: resolve 422 error adding deepseek provider

- Updated `pretor/api/provider.py` to allow "deepseek" as a valid Literal in `ProviderRegister` Pydantic model.
- Validated tests to ensure the backend can correctly receive deepseek configurations.

Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com>

* fix: complete deepseek provider registration wiring

- Updated `pretor/core/global_state_machine/provider_manager.py` to correctly map `"deepseek"` to `DeepseekProvider`.
- Updated `pretor/core/global_state_machine/model_provider/__init__.py` to export `DeepseekProvider`.
- Confirmed this fully resolves the Provider Manager failing to instantiate DeepSeek despite passing API validation.

Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com>

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com>
2026-04-28 12:10:47 +08:00
..
adapter feat: refactor DeepSeekReasonerAgent as a drop-in replacement for pydantic_ai Agent (#46) 2026-04-28 09:58:54 +08:00
api fix: 修复了deepseek 2026-04-28 10:23:02 +08:00
core Feat/deepseek adapter dropin 14224636701039833263 (#48) 2026-04-28 12:10:47 +08:00
plugin fix: 修复了get_tool调用缓存协程对象的bug 2026-04-27 22:18:50 +08:00
utils Refactor Agent Tool Assignments to Database-Driven Static Loading (#45) 2026-04-28 03:53:33 +08:00
worker_individual Refactor Agent Tool Assignments to Database-Driven Static Loading (#45) 2026-04-28 03:53:33 +08:00
workflow_template feat:使用pytanticAI再次重构,增加了对于api的接口管理 2026-03-31 18:15:18 +08:00
__init__.py wip:更新版权 2026-04-10 10:50:25 +08:00