From 7100942984edf16c2ea8d39d4a4b6f75f02ea388 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Fri, 7 Aug 2026 17:21:51 +0200 Subject: [PATCH] fix: correct plan path in replan-required message Use session/$OLLIE_SESSION_ID/agent/$OLLIE_UNAME/plan instead of outdated s/$OLLIE_SESSION_ID/plan --- agent/loop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/loop.go b/agent/loop.go index b8f5f2a..84fd6f1 100644 --- a/agent/loop.go +++ b/agent/loop.go @@ -631,7 +631,7 @@ func run(ctx context.Context, cfg agentConfig, state state) error { if roundsWithoutPlan >= replanGate { state.update(backend.Message{ Role: "user", - Content: fmt.Sprintf("\nYou have executed %d tool rounds without replanning. Stop and write a PLAN: block showing your current checklist before calling any more tools. Update session/$OLLIE_SESSION_ID/agent/$OLLIE_AGENT_ID/plan.\n", replanGate), + Content: fmt.Sprintf("\nYou have executed %d tool rounds without replanning. Stop and write a PLAN: block showing your current checklist before calling any more tools. Update session/$OLLIE_SESSION_ID/agent/$OLLIE_UNAME/plan.\n", replanGate), }, nil) roundsWithoutPlan = 0 }