feat: enhance memory management tools; improve lesson tracking and update descriptions for clarity

This commit is contained in:
asepharyana
2026-07-12 12:21:46 +07:00
parent 40108defc0
commit ce36e936a6
4 changed files with 153 additions and 25 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ impl Tool for Recall {
}
fn description(&self) -> &'static str {
"Read memory entries. Pass a name to read a specific entry, or omit name to list all entries in the memory index. The memory index is also automatically injected into your system prompt."
"Read memory entries. Pass a name to read a specific entry, or omit name to list all entries in the memory index. Use this to find stored lessons, references, and project conventions."
}
fn parameters(&self) -> Value {
+1 -1
View File
@@ -15,7 +15,7 @@ impl Tool for Remember {
}
fn description(&self) -> &'static str {
"Save a piece of information to persistent project memory. Memory entries are injected into future conversations via the system prompt, so use this to record conventions, preferences, and important context."
"Save a piece of information to persistent project memory. Memory entries are written to disk and can be retrieved later via the recall() tool. Use this to record conventions, preferences, and important context."
}
fn parameters(&self) -> Value {