[PR #4247] Add docs for when predicate in InterruptOnConfig for HITL middleware #4234

Open
opened 2026-06-05 19:13:13 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/4247
Author: @langsmith-fleet[bot]
Created: 6/1/2026
Status: 🔄 Open

Base: mainHead: docs/add-hitl-when-predicate


📝 Commits (3)

  • 4282991 Add docs for 'when' predicate in InterruptOnConfig for HITL middleware
  • 5d65827 Restructure HITL docs: consolidate InterruptOnConfig into one section with subsections
  • 04a4dcc docs: refine HITL interrupt config docs

📊 Changes

1 file changed (+54 additions, -6 deletions)

View changed files

📝 src/oss/deepagents/human-in-the-loop.mdx (+54 -6)

📄 Description

Fixes DOC-1187

Description

Documents HITL interrupt configuration objects in one section, including allowed_decisions, description, and Python-only when.

Release Note

Added docs for conditional HITL interrupts with InterruptOnConfig.when.

Test Plan

  • make lint_prose FILES="src/oss/deepagents/human-in-the-loop.mdx"

Opened collaboratively by Sydney Runkle and open-swe.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/4247 **Author:** [@langsmith-fleet[bot]](https://github.com/apps/langsmith-fleet) **Created:** 6/1/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/add-hitl-when-predicate` --- ### 📝 Commits (3) - [`4282991`](https://github.com/langchain-ai/docs/commit/428299137d2da6ca089fbec7bc362f6b2af1b691) Add docs for 'when' predicate in InterruptOnConfig for HITL middleware - [`5d65827`](https://github.com/langchain-ai/docs/commit/5d658278d5d85e08500b18a381a17cd86a1f5f0f) Restructure HITL docs: consolidate InterruptOnConfig into one section with subsections - [`04a4dcc`](https://github.com/langchain-ai/docs/commit/04a4dcc827d02c375ba105a67ec3eb698cd6762d) docs: refine HITL interrupt config docs ### 📊 Changes **1 file changed** (+54 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/deepagents/human-in-the-loop.mdx` (+54 -6) </details> ### 📄 Description Fixes DOC-1187 ## Description Documents HITL interrupt configuration objects in one section, including `allowed_decisions`, `description`, and Python-only `when`. ## Release Note Added docs for conditional HITL interrupts with `InterruptOnConfig.when`. ## Test Plan - [x] `make lint_prose FILES="src/oss/deepagents/human-in-the-loop.mdx"` _Opened collaboratively by Sydney Runkle and open-swe._ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 19:13:13 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#4234