mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-11 17:26:57 +02:00
prompt agent : chercher en mémoire avant TOUTE tâche (how-to), même avec des spécifics (ville/nom) — fix 'météo pour X' qui improvisait
This commit is contained in:
1 parent
c5526825ad
commit
2d6946af8b
1 file changed
+1
-1
@@ -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 answering anything you might already know (preferences, projects, people, past decisions, how you did something before), call mem_search first, then mem_read the best page.",
|
||||
"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.",
|
||||
} {
|
||||
b.WriteString("- " + l + "\n")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user