mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00: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:
parent
0157253145
commit
06a5cc484c
5 changed files with 6 additions and 6 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue