From dddb13144c83469d334559414c627c22913ef6d0 Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Mon, 23 Mar 2026 17:27:54 -0400 Subject: [PATCH] fix: update GITEA_API default from localhost to VPS IP (#1177) --- scripts/loop_guard.py | 2 +- scripts/triage_score.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/loop_guard.py b/scripts/loop_guard.py index b6bad133..c5e5e14c 100644 --- a/scripts/loop_guard.py +++ b/scripts/loop_guard.py @@ -30,7 +30,7 @@ IDLE_STATE_FILE = REPO_ROOT / ".loop" / "idle_state.json" CYCLE_RESULT_FILE = REPO_ROOT / ".loop" / "cycle_result.json" TOKEN_FILE = Path.home() / ".hermes" / "gitea_token" -GITEA_API = os.environ.get("GITEA_API", "http://localhost:3000/api/v1") +GITEA_API = os.environ.get("GITEA_API", "http://143.198.27.163:3000/api/v1") REPO_SLUG = os.environ.get("REPO_SLUG", "rockachopa/Timmy-time-dashboard") # Default cycle duration in seconds (5 min); stale threshold = 2× this diff --git a/scripts/triage_score.py b/scripts/triage_score.py index 7d29b599..f01ca47a 100644 --- a/scripts/triage_score.py +++ b/scripts/triage_score.py @@ -6,7 +6,7 @@ writes a ranked queue to .loop/queue.json. No LLM calls — pure heuristics. Run: python3 scripts/triage_score.py Env: GITEA_TOKEN (or reads ~/.hermes/gitea_token) - GITEA_API (default: http://localhost:3000/api/v1) + GITEA_API (default: http://143.198.27.163:3000/api/v1) REPO_SLUG (default: rockachopa/Timmy-time-dashboard) """ @@ -20,7 +20,7 @@ from datetime import datetime, timezone from pathlib import Path # ── Config ────────────────────────────────────────────────────────────── -GITEA_API = os.environ.get("GITEA_API", "http://localhost:3000/api/v1") +GITEA_API = os.environ.get("GITEA_API", "http://143.198.27.163:3000/api/v1") REPO_SLUG = os.environ.get("REPO_SLUG", "rockachopa/Timmy-time-dashboard") TOKEN_FILE = Path.home() / ".hermes" / "gitea_token" REPO_ROOT = Path(__file__).resolve().parent.parent