From 2d6946af8bb07aff8ed61f0ead48797b25facd31 Mon Sep 17 00:00:00 2001 From: nathaninline Date: Fri, 26 Jun 2026 17:08:32 +0200 Subject: [PATCH] =?UTF-8?q?prompt=20agent=20:=20chercher=20en=20m=C3=A9moi?= =?UTF-8?q?re=20avant=20TOUTE=20t=C3=A2che=20(how-to),=20m=C3=AAme=20avec?= =?UTF-8?q?=20des=20sp=C3=A9cifics=20(ville/nom)=20=E2=80=94=20fix=20'm?= =?UTF-8?q?=C3=A9t=C3=A9o=20pour=20X'=20qui=20improvisait?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools.go b/tools.go index e4f3f48..9ccdbe7 100644 --- a/tools.go +++ b/tools.go @@ -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") }