fix: improve gateway secret capture guidance message

The old message referenced 'hermes setup' which doesn't handle
skill-specific env vars. Updated to direct users to load the skill
in the local CLI (which triggers the secure prompt) or add the key
to ~/.hermes/.env manually.
This commit is contained in:
teknium1 2026-03-13 04:10:15 -07:00
parent 0157253145
commit 06a5cc484c
5 changed files with 6 additions and 6 deletions

View file

@ -511,7 +511,7 @@ class TestSkillViewSecureSetupOnLoad:
result = json.loads(raw)
assert result["success"] is True
assert called["value"] is False
assert "hermes setup" in result["gateway_setup_hint"].lower()
assert "local cli" in result["gateway_setup_hint"].lower()
assert result["content"].startswith("---")
@ -845,7 +845,7 @@ class TestSkillViewPrerequisites:
raw = skill_view("backend-unknown")
result = json.loads(raw)
assert result["success"] is True
assert "hermes setup" in result["gateway_setup_hint"].lower()
assert "local cli" in result["gateway_setup_hint"].lower()
assert result["setup_needed"] is True
@pytest.mark.parametrize(