mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-03 09:17:09 +08:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user