AIOps Peach

Agents · Human-in-the-Loop & Persistence · Bài 2/8

Interrupts in LangGraph

An interrupt pauses a graph at a set point, saves its whole state, waits for a human, and resumes from the checkpoint. Interrupts are set at compile time with interrupt_before and interrupt_after, which need a checkpointer, and a conditional edge can send only some runs to the approval node. A run goes through five stages - run until the interrupt, save a checkpoint, return control, human review, resume with the same config.

Nội dung bài học, quiz và tab Command mở trên site sau khi đăng nhập và được admin cấp quyền học AIOps Peach.

Vào học →