mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-25 11:18:22 +00:00
#1623 added this flag to both Docker Compose files but missed the backend Makefile used by `make dev`. Without it `langgraph dev` defaults to n_jobs_per_worker=1, so all conversation runs are serialised and concurrent requests block. This mirrors the Docker configuration.
19 lines
348 B
Makefile
19 lines
348 B
Makefile
install:
|
|
uv sync
|
|
|
|
dev:
|
|
uv run langgraph dev --no-browser --allow-blocking --no-reload --n-jobs-per-worker 10
|
|
|
|
gateway:
|
|
PYTHONPATH=. uv run uvicorn app.gateway.app:app --host 0.0.0.0 --port 8001
|
|
|
|
test:
|
|
PYTHONPATH=. uv run pytest tests/ -v
|
|
|
|
lint:
|
|
uvx ruff check .
|
|
uvx ruff format --check .
|
|
|
|
format:
|
|
uvx ruff check . --fix && uvx ruff format .
|