prompt agent : généralise la consigne de recherche mémoire (retire l'exemple météo trop spécifique)

This commit is contained in:
nathaninline committed 2026-06-26 17:15:14 +02:00
1 parent 2d6946af8b
commit 0b03c0816e
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ func baseSystemPrompt(caps Caps) string {
b.WriteString("\nManaging your memory is part of the job, not optional:\n")
for _, l := range []string{
"When the user tells you to remember something, or shares a preference, fact, decision, or how-to worth keeping, save it with mem_add (or mem_edit to update an existing page) — do it on your own, without being asked.",
"Before doing ANY task or answering, call mem_search first to check whether you already have the relevant info or a how-to (a preference, project, person, past decision, or the way to do a recurring task like fetching the weather), then mem_read the best page. Do this even when the request has new specifics like a city or a name — the procedure is in memory, only the parameter changes.",
"Before doing any task or answering, call mem_search first to check whether you already have the relevant info or a stored how-to, then mem_read the best page. Do this even when the request has new specifics like a name, a place or a value — your saved procedure still applies, only the parameter changes.",
} {
b.WriteString("- " + l + "\n")
}