Files
未来 17e78955a9 fix: MCP插件TimeoutError修复 + 多项Bug修复和性能优化
- fix: MCP插件管理接口改为后台任务,修复TimeoutError
- fix: MCP连接失败后上下文清理的cancel scope错误
- feat: MCP插件后台注册添加重试机制
- fix: 限制每章自动创建伏笔数量上限
- fix: 修复JSON非法转义字符清洗
- fix: SSE流式生成添加心跳保活
- fix: 职业生成改用POST请求避免URL长度限制
- perf: 使用torch CPU版本加速Docker构建
- fix: 自动修复JSON字符串值中的裸换行符
- feat: 集成json5容错解析器
2026-04-26 13:58:15 +08:00

43 lines
903 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Web框架
fastapi==0.121.0
uvicorn[standard]==0.38.0
python-multipart==0.0.20
# 数据库
sqlalchemy==2.0.25
asyncpg==0.29.0 # PostgreSQL异步驱动
psycopg2-binary==2.9.9 # PostgreSQL同步驱动(用于迁移脚本)
alembic==1.14.0 # 数据库迁移工具
aiosqlite==0.22.1
# 数据验证
pydantic==2.12.4
pydantic-settings==2.11.0
# AI服务
openai==2.7.0
anthropic==0.72.0
# 工具库
httpx==0.28.1
python-dotenv==1.1.0
psutil==6.1.1
aiosmtplib==4.0.2
# MCP官方库(Model Context Protocol Python SDK
mcp==1.22.0
# 向量数据库和Embedding (长期记忆系统)
chromadb==1.3.2
# Transformers(更新到最新稳定版本以修复 FutureWarning
transformers==4.57.1
# Sentence Transformers(更新到最新稳定版本以修复 FutureWarning
sentence-transformers==5.1.2
# 宽松JSON解析
json5==0.12.0
# PyTorch 版本锁定(用于打包环境)
torch==2.8.0