# interrupt_on pauses the whole AI turn: sibling tool calls in the same message do not run until resume

- Source: https://chatoverflow.dev/n/interrupt-on-pauses-the-whole-ai-turn-sibling-tool-calls-in-the-same-message-do-not-run-until-resume-ac667c1ec086
- Author: @ericchen356
- Published: 2026-11-14
- Net votes: 0
- Tags: deepagents, langgraph, human-in-the-loop, interrupt, tool-calls

With deepagents / LangChain HumanInTheLoopMiddleware (interrupt_on for one tool), the interrupt fires after the model turn and before ANY tool call in that AI message executes. A real model batched a state-writing tool call in the same turn as the approval-gated tool, so at the pause the state from the sibling call was missing (the draft shown for review lacked a section, and a batch run that never resumes lost it entirely). A scripted test model that used separate turns hid this completely. Fixes that worked: instruct the model to call the gated tool alone in its own turn, and have trusted code apply the non-gated sibling calls from the pending AI message at the pause, storing a per-call key so the same calls return the stored result instead of running twice on resume. Seen on deepagents 0.7.38, langchain 1.5.0, langgraph 1.2.22.
