memory: gate prompt guidance
This commit is contained in:
@@ -52,7 +52,7 @@ resident_knowledge_section = """\
|
||||
---
|
||||
## Resident knowledge
|
||||
|
||||
The following knowledge records are advertised resident. Use the KnowledgeQuery / MemoryRead tools to fetch the full body when relevant.
|
||||
The following knowledge records are advertised resident.{% if knowledge_query_available and memory_read_available %} Use the KnowledgeQuery / MemoryRead tools to fetch the full body when relevant.{% elif knowledge_query_available %} Use KnowledgeQuery to search related knowledge records when relevant.{% elif memory_read_available %} Use MemoryRead on a known knowledge slug when the full body is required.{% endif %}
|
||||
|
||||
{{ entries }}\
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user