From bb3cb01c24cd4a25ef96b6fd18b2680c8488ff7f Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Fri, 7 Aug 2026 17:21:24 +0200 Subject: [PATCH] fix: update plan path in replan-required message --- agent/loop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/loop.go b/agent/loop.go index 9889cf7..b8f5f2a 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 s/$OLLIE_SESSION_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_AGENT_ID/plan.\n", replanGate), }, nil) roundsWithoutPlan = 0 }