langgraph-plan-review: replace hardcoded C:\Users\bowei paths with Path.home()/relative resolution

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
bowei
2026-07-20 19:19:17 +08:00
co-authored by Claude Opus 4.8
parent 2b873a1f4d
commit 742bed62eb
3 changed files with 7 additions and 10 deletions
@@ -108,10 +108,11 @@ def run_workflow(
try:
httpx.get(f"{server_url}/ok", timeout=5).raise_for_status()
except Exception as exc:
manage_script = Path(__file__).resolve().with_name("manage_dev_server.ps1")
raise RuntimeError(
f"langgraph dev server not reachable at {server_url}.\n"
f"Start it first:\n"
f" PowerShell -File C:\\Users\\bowei\\.claude\\skills\\langgraph-plan-review\\scripts\\manage_dev_server.ps1 start\n"
f" PowerShell -File {manage_script} start\n"
f"Error: {exc}"
)