mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
fix(session-search): stop the agent restating a linked session's title
The old wording ("no need to also spell out the title") left the model free
to write the link on its own line and then repeat the title in the sentence,
showing the user the same session twice. Say plainly that the link IS the
title and belongs mid-sentence as a noun.
This commit is contained in:
parent
9edbc68d0f
commit
efe4491666
1 changed files with 5 additions and 3 deletions
|
|
@ -996,9 +996,11 @@ SESSION_SEARCH_SCHEMA = {
|
|||
"your reply — every result carries one, e.g. "
|
||||
"`@session:default/20260722_204335_d62c16`. Copy it verbatim; do not "
|
||||
"reformat it as a markdown link or wrap it in backticks. Hermes renders "
|
||||
"it as the session's title, so there is no need to also spell out the "
|
||||
"title, date, or id around it — write \"picked up in @session:... \" "
|
||||
"rather than restating the metadata.\n\n"
|
||||
"it as a link showing the session's title, so the link IS the title: "
|
||||
"use it as a noun mid-sentence (\"that's @session:default/... — want me "
|
||||
"to pick it up?\"), never alone on its own line, and never alongside the "
|
||||
"title, id, or date spelled out — that shows the user the same session "
|
||||
"twice.\n\n"
|
||||
"FTS5 SYNTAX\n\n"
|
||||
" AND is the default — multi-word queries require all terms. Use OR explicitly "
|
||||
"for broader recall (`alpha OR beta OR gamma`), quoted phrases for exact match "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue