- src/rag/{unified(21模块),extractors/methodology,project_config} + api/methodology_routes.py(998行)
- 新薄入口 scripts/methodology_server.py(/health + /api/v1/methodology/*)
- env 化补丁:UPLOAD_JOBS_DIR/UPLOAD_OUTPUT_ROOT 支持 env 覆盖(数据根迁移免改代码)
- 影子 8001 冒烟:job 列表与生产 8000 完全一致(3/3)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
8 lines
279 B
Bash
Executable File
8 lines
279 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# agent/methodology/scripts/restart.sh —— 重启(停 → 起)
|
|
set -euo pipefail
|
|
AGENT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
PORT="${1:-7920}"
|
|
bash "$AGENT_ROOT/scripts/stop.sh" "$PORT" || true
|
|
bash "$AGENT_ROOT/scripts/start.sh" "$PORT"
|