feat: add gateway module with FastAPI server (#5)

* chore: add .claude/ to .gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat: add gateway module with FastAPI server

- Add new gateway module with FastAPI app for API routing
- Add gateway and serve commands to Makefile
- Add fastapi, httpx, uvicorn, sse-starlette dependencies
- Fix model config retrieval in lead_agent (support both model_name and model)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
DanielWalnut
2026-01-16 13:22:26 +08:00
committed by GitHub
parent 5c94e6d222
commit fb92a472e2
13 changed files with 1125 additions and 41 deletions

View File

@@ -7,15 +7,20 @@ requires-python = ">=3.12"
dependencies = [
"agent-sandbox>=0.0.19",
"dotenv>=0.9.9",
"fastapi>=0.115.0",
"httpx>=0.28.0",
"langchain>=1.2.3",
"langchain-deepseek>=1.0.1",
"langchain-openai>=1.1.7",
"langgraph>=1.0.6",
"langgraph-cli[inmem]>=0.4.11",
"markdownify>=1.2.2",
"pydantic>=2.12.5",
"pyyaml>=6.0.3",
"readabilipy>=0.3.0",
"sse-starlette>=2.1.0",
"tavily-python>=0.7.17",
"uvicorn[standard]>=0.34.0",
]
[dependency-groups]