langchain
feat(langchain): conditional interrupts via `interrupt_when` predicate
#37367
Closed

feat(langchain): conditional interrupts via `interrupt_when` predicate #37367

nick-hollon-lc wants to merge 10 commits into master from nh/hitl-conditional-interrupts
nick-hollon-lc
nick-hollon-lc feat(langchain): add `interrupt_when` field to `InterruptOnConfig`
fc0a6595
nick-hollon-lc feat(langchain): auto-approve when `interrupt_when` returns `False`
2b764f9e
nick-hollon-lc test(langchain): cover `interrupt_when=True` interrupt path
f2992aed
nick-hollon-lc test(langchain): cover predicate-gated mixed calls for same tool
6c72b4f2
nick-hollon-lc test(langchain): cover mixed configured tools with predicates
131e001a
nick-hollon-lc test(langchain): assert \`ToolRuntime\` fields passed to predicate
01876ec0
nick-hollon-lc test(langchain): assert `interrupt_when` exceptions propagate
579b1e24
nick-hollon-lc docs(langchain): document `interrupt_when` on HITL middleware
700d4207
nick-hollon-lc chore(langchain): format and lint touchups for HITL conditional inter…
902a1812
nick-hollon-lc test(langchain): assert `ToolRuntime.context`/`store`/`stream_writer`…
ea08cd0c
github-actions github-actions added feature
github-actions github-actions added internal
github-actions github-actions added langchain
github-actions github-actions added size: M
codspeed-hq
sydney-runkle
sydney-runkle requested changes on 2026-05-19
nick-hollon-lc
nick-hollon-lc nick-hollon-lc closed this 1 day ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone