Spaces:
Runtime error
Runtime error
| # LangGraph Studio dev server, on this worktree's port. | |
| # | |
| # Usage: | |
| # scripts/run_studio.sh # exec langgraph dev on the computed port | |
| # scripts/run_studio.sh --tunnel # extra args are forwarded | |
| set -euo pipefail | |
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| PORT="$(uv run python "$SCRIPT_DIR/_ports.py" studio)" | |
| echo "[run_studio] langgraph dev → http://127.0.0.1:${PORT}" | |
| exec uv run --extra dev langgraph dev --port "$PORT" "$@" | |