feat(prompt): broaden Hermes self-knowledge pointer to docs + skill (#38538)
The HERMES_AGENT_HELP_GUIDANCE block (added #16535) only fired when the user explicitly asked about configuring/setting up Hermes. Broaden it so the agent treats the docs as a standing source of self-knowledge for any Hermes-related help and for understanding its own features/tools, points to the hermes-agent skill for additional guidance, and treats the docs as the authoritative/latest source of truth when the two differ. Static constant in the cache-safe stable tier — no prompt-cache impact.
This commit is contained in:
@ -129,9 +129,14 @@ DEFAULT_AGENT_IDENTITY = (
|
||||
)
|
||||
|
||||
HERMES_AGENT_HELP_GUIDANCE = (
|
||||
"If the user asks about configuring, setting up, or using Hermes Agent "
|
||||
"itself, load the `hermes-agent` skill with skill_view(name='hermes-agent') "
|
||||
"before answering. Docs: https://hermes-agent.nousresearch.com/docs"
|
||||
"You run on Hermes Agent (by Nous Research). When the user needs help with "
|
||||
"Hermes itself — configuring, setting up, using, extending, or troubleshooting "
|
||||
"it — or when you need to understand your own features, tools, or capabilities, "
|
||||
"the documentation at https://hermes-agent.nousresearch.com/docs is your "
|
||||
"authoritative reference and always holds the latest, most up-to-date "
|
||||
"information. Load the `hermes-agent` skill with skill_view(name='hermes-agent') "
|
||||
"for additional guidance and proven workflows, but treat the docs as the source "
|
||||
"of truth when the two differ."
|
||||
)
|
||||
|
||||
MEMORY_GUIDANCE = (
|
||||
|
||||
Reference in New Issue
Block a user