init code

This commit is contained in:
ousiman
2026-03-04 13:56:08 +08:00
commit ea1798b51e
11 changed files with 1052 additions and 0 deletions

43
pyproject.toml Normal file
View File

@@ -0,0 +1,43 @@
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "ai-agent-project"
version = "0.1.0"
description = "AI Agent 项目 - Python 3.11 + LangGraph + FastAPI + Deepseek"
authors = [{name = "Zhong Cheng", email = "cheng.zhong@t-systems.com"}]
requires-python = ">=3.11"
dependencies = [
"python-dotenv>=1.0.0",
"fastapi>=0.109.0",
"uvicorn>=0.27.0",
"langgraph>=0.0.41",
"langchain>=0.1.9",
"langchain-core>=0.1.23",
"openai>=1.8.0",
"pydantic>=2.5.3",
"pydantic-settings>=2.1.0",
"httpx>=0.25.2",
"requests>=2.31.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
]
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false