init: 使用装饰器封装处理统一的接口响应
parent
93190ac0e5
commit
44cbb4ca49
@ -1,27 +1,27 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "rg-agno-agent"
|
name = "rg-fastapi-template"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "Add your description here"
|
description = "Add your description here"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fastapi[standard]>=0.116.1",
|
|
||||||
"langchain>=0.3.27",
|
"langchain>=0.3.27",
|
||||||
|
"langchain-openai>=0.3.33",
|
||||||
|
"langchainhub>=0.1.21",
|
||||||
"mcp>=1.14.0",
|
"mcp>=1.14.0",
|
||||||
"openai>=1.107.3",
|
"fastapi[standard]>=0.116.1",
|
||||||
|
"fastapi-pagination>=0.14.1", # fastapi统一分页
|
||||||
"sqlalchemy[asyncio]>=2.0.43",
|
"sqlalchemy[asyncio]>=2.0.43",
|
||||||
|
"sqlmodel>=0.0.25",
|
||||||
"ruamel-yaml>=0.18.6,<0.19.0", # YAML处理
|
"ruamel-yaml>=0.18.6,<0.19.0", # YAML处理
|
||||||
"cachetools==5.3.3", # 缓存工具
|
"cachetools==5.3.3", # 缓存工具
|
||||||
"filelock==3.15.4", # 文件锁
|
"filelock==3.15.4", # 文件锁
|
||||||
"itsdangerous==2.1.2", # 安全签名,用于 SessionMiddleware
|
"itsdangerous==2.1.2", # 安全签名,用于 SessionMiddleware
|
||||||
"langchain-openai>=0.3.33",
|
|
||||||
"langchainhub>=0.1.21",
|
|
||||||
"httpx-sse>=0.4.1",
|
"httpx-sse>=0.4.1",
|
||||||
"sqlmodel>=0.0.25",
|
|
||||||
"aiomysql>=0.2.0",
|
"aiomysql>=0.2.0",
|
||||||
"beartype>=0.21.0",
|
"beartype>=0.21.0", # 类型检查
|
||||||
"fastapi-pagination>=0.14.1",
|
"psutil>=7.1.0", # 系统资源
|
||||||
"psutil>=7.1.0",
|
"pytz>=2025.2", #处理时区
|
||||||
]
|
]
|
||||||
[[tool.uv.index]]
|
[[tool.uv.index]]
|
||||||
url = "https://mirrors.aliyun.com/pypi/simple"
|
url = "https://mirrors.aliyun.com/pypi/simple"
|
||||||
|
|||||||
Loading…
Reference in New Issue