The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(website): put the repo root on sys.path before importing hermes_yaml in the stars probe
teknium1e2abb460b6cb
diff --git a/website/scripts/fetch-plugin-stars.py b/website/scripts/fetch-plugin-stars.pyindex 1394021c594..a7263dadb56 100644--- a/website/scripts/fetch-plugin-stars.py+++ b/website/scripts/fetch-plugin-stars.py@@ -31,9 +31,12 @@ import urllib.requestfrom datetime import datetime, timezonefrom pathlib import Path-import hermes_yaml as yaml-REPO_ROOT = Path(__file__).resolve().parents[2]+# Run as `python website/scripts/fetch-plugin-stars.py`, so sys.path[0] is this directory and the+# repo-root `hermes_yaml` shim is not importable without this (broke every scheduled probe).+sys.path.insert(0, str(REPO_ROOT))+import hermes_yaml as yaml # noqa: E402+DEFAULT_CATALOG_DIR = REPO_ROOT / "plugin-catalog"DEFAULT_OUTPUT = REPO_ROOT / "website" / "static" / "api" / "plugin-stars.json"LIVE_URL = "https://hermes-agent.nousresearch.com/docs/api/plugin-stars.json"