diff --git a/cmd/olliesrv/internal/agent/dispatch.go b/cmd/olliesrv/internal/agent/dispatch.go index 6c21c86..f8ea57d 100644 --- a/cmd/olliesrv/internal/agent/dispatch.go +++ b/cmd/olliesrv/internal/agent/dispatch.go @@ -251,7 +251,7 @@ func (ag *Agent) execOne(ctx context.Context, call backend.ToolCall) (toolResult result = fmt.Sprintf("error: background exec: %v", err) isErr = true } else { - result = fmt.Sprintf("\nid=%d cmd=%q\nProcess running in background. Do NOT sleep, poll, or wait. Continue with other work — output will be injected automatically when available.\n", pid, cmdDesc) + result = fmt.Sprintf("\nid=%d cmd=%q\nProcess running in background. Do NOT sleep, poll, or wait. Continue with other work — output will be injected automatically when the agent is IDLE (not making tool calls).\n", pid, cmdDesc) // Notify proc.start via callback if ag.onProcStart != nil { ag.onProcStart(ag.id, pid, call.Name, cmdDesc)