refactor: 清理 litellm 冗余代码并锁定依赖版本

This commit is contained in:
zl-q
2026-03-25 20:08:34 +08:00
parent 96fc4a1e77
commit b765b9e3e1
9 changed files with 54 additions and 71 deletions
+27 -31
View File
@@ -4,34 +4,34 @@ version = "0.1.0"
description = "Social application backend"
requires-python = ">=3.12"
dependencies = [
"ag-ui-protocol>=0.1.13",
"alembic>=1.18.3",
"asyncpg>=0.31.0",
"email-validator>=2.3.0",
"fastapi>=0.128.0",
"pydantic>=2.11.0",
"pydantic-settings>=2.10.0",
"pyjwt>=2.10.1",
"pyyaml>=6.0.3",
"redis>=7.1.0",
"sqlalchemy[asyncio]>=2.0.46",
"structlog>=24.4.0",
"taskiq>=0.11.0",
"taskiq-redis>=1.0.0",
"supabase>=2.27.2",
"uvicorn[standard]>=0.40.0",
"dashscope>=1.25.13",
"agentscope>=1.0.16",
"apscheduler>=3.11.0",
"ag-ui-protocol==0.1.13",
"alembic==1.18.4",
"asyncpg==0.31.0",
"email-validator==2.3.0",
"fastapi==0.135.1",
"pydantic==2.12.5",
"pydantic-settings==2.13.1",
"pyjwt==2.11.0",
"pyyaml==6.0.3",
"redis==7.2.1",
"sqlalchemy[asyncio]==2.0.48",
"structlog==25.5.0",
"taskiq==0.12.1",
"taskiq-redis==1.2.2",
"supabase==2.28.0",
"uvicorn[standard]==0.41.0",
"dashscope==1.25.13",
"agentscope==1.0.16",
"apscheduler==3.11.2",
]
[project.optional-dependencies]
dev = [
"httpx>=0.28.0",
"playwright>=1.49.0",
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"httpx==0.28.1",
"playwright==1.58.0",
"pytest==9.0.2",
"pytest-asyncio==1.3.0",
"pytest-cov==7.0.0",
]
[[tool.uv.index]]
@@ -48,11 +48,7 @@ markers = [
[dependency-groups]
dev = [
"aiosqlite>=0.22.1",
"basedpyright>=1.37.2",
"playwright>=1.57.0",
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"aiosqlite==0.22.1",
"basedpyright==1.38.2",
"pre-commit==4.5.1",
]