fix: update plan path in replan-required message
This commit is contained in:
parent
3c459cb370
commit
bb3cb01c24
|
|
@ -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("<system-replan-required>\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</system-replan-required>", replanGate),
|
||||
Content: fmt.Sprintf("<system-replan-required>\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</system-replan-required>", replanGate),
|
||||
}, nil)
|
||||
roundsWithoutPlan = 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue