mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
* 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>
21 lines
418 B
Makefile
21 lines
418 B
Makefile
install:
|
|
uv sync
|
|
|
|
dev:
|
|
uv run langgraph dev --no-browser --allow-blocking
|
|
|
|
gateway:
|
|
uv run uvicorn src.gateway.app:app --host 0.0.0.0 --port 8000 --reload
|
|
|
|
serve:
|
|
@trap 'kill 0' EXIT; \
|
|
uv run langgraph dev --no-browser --allow-blocking & \
|
|
sleep 3 && uv run uvicorn src.gateway.app:app --host 0.0.0.0 --port 8000 --reload & \
|
|
wait
|
|
|
|
lint:
|
|
uvx ruff check .
|
|
|
|
format:
|
|
uvx ruff check . --fix && uvx ruff format .
|