refactor: 切换到 litellm,删除未使用的代码

- 添加 litellm 依赖,统一 LLM 调用层
- 新增 litellm_client.py 支持多厂商
- 更新 llm_catalog.yaml 添加 litellm_model 映射
- 删除旧的 cost_tracker.py (litellm 内置 cost 追踪)
- 删除未使用的 multimodal.py 和 storage_adapter.py
- 删除空文件 crewai/__init__.py, tools/__init__.py
- 更新测试以适配新代码
This commit is contained in:
qzl
2026-03-03 17:52:34 +08:00
parent a4f684466c
commit 80cbb3512f
15 changed files with 200 additions and 578 deletions
@@ -27,6 +27,8 @@ llms:
# 你原来的两个保留
- model_code: qwen3.5-flash
factory_name: dashscope
litellm_model: dashscope/qwen-turbo
- model_code: deepseek-v3.2
factory_name: deepseek
litellm_model: deepseek/deepseek-chat