Skip to lesson
Exit
Checkpoints, queued messages and run control1 / 1

1 min lesson

Agent run controls

Stop a run before another wrong tool call, send a narrower request and review the diff.

Check your understanding

Complete the practice "Stop a drifting run and send a narrower follow-up".

Outcome: Only the accepted files remain, and the requested check passes.

Stop a drifting run and send a narrower follow-up
Agent run controls
DoUse Stop before another tool call. Changes already made still need review.
SeeAgent starts reading a file outside the agreed directory.
DoSend a narrower request that names the accepted directory and the check to run.
SeeThe correction is a separate message, so the changed boundary is visible in the chat.
DoReview the diff before continuing.
SeeOnly the accepted files remain, and the requested check passes.

Finish the check to continue.