80cbb3512f
- 添加 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 - 更新测试以适配新代码
53 lines
1.1 KiB
TOML
53 lines
1.1 KiB
TOML
[project]
|
|
name = "social-app"
|
|
version = "0.1.0"
|
|
description = "Social application backend"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"alembic>=1.18.3",
|
|
"asyncpg>=0.31.0",
|
|
"basedpyright>=1.37.2",
|
|
"celery>=5.6.2",
|
|
"crewai>=1.6.1",
|
|
"crewai-tools>=1.6.1",
|
|
"email-validator>=2.3.0",
|
|
"fastapi>=0.128.0",
|
|
"litellm>=1.52.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",
|
|
"supabase>=2.27.2",
|
|
"uvicorn[standard]>=0.40.0",
|
|
]
|
|
|
|
[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",
|
|
]
|
|
|
|
[[tool.uv.index]]
|
|
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
|
|
default = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["backend/tests"]
|
|
addopts = "-q"
|
|
asyncio_mode = "auto"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"aiosqlite>=0.22.1",
|
|
"pre-commit>=4.5.1",
|
|
"pytest>=9.0.2",
|
|
"pytest-asyncio>=1.3.0",
|
|
"pytest-cov>=7.0.0",
|
|
]
|