requirements.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # SmartBizTrip 项目 Python 依赖
  2. # 基于当前代码导入和本地 .venv 的已安装版本整理;参考 Python 3.12.11。
  3. # 固定项目直接依赖及关键 MCP 版本;间接依赖由安装器解析,并非完整环境锁文件。
  4. # 使用 uv 安装:uv pip install --python .venv/bin/python -r requirements.txt
  5. # 使用 pip 安装(环境内需有 pip):python -m pip install -r requirements.txt
  6. # MySQL、Milvus 服务需单独启动;API Key 保存在本地 .env 中。
  7. # 大模型调用与 Agent 编排
  8. langchain==0.3.26
  9. langchain-core==0.3.86
  10. langchain-openai==0.3.28
  11. # A2A 通信与 MCP 工具适配
  12. python-a2a==0.5.4
  13. langchain-mcp-adapters==0.1.11
  14. mcp==1.18.0
  15. # Web 后台与数据模型
  16. fastapi==0.116.1
  17. uvicorn==0.35.0
  18. pydantic==2.13.5
  19. # 关系数据库与向量数据库客户端
  20. mysql-connector-python==9.4.0
  21. pymilvus==3.0.1
  22. # HTTP 请求、本地配置和时区
  23. requests==2.34.2
  24. python-dotenv==1.2.3
  25. pytz==2025.2
  26. # 天气定时采集 utils/spider_weather.py 使用;整理时本地 .venv 尚未安装。
  27. # 版本来源:https://pypi.org/project/schedule/1.2.2/
  28. schedule==1.2.2