What this thread does
Do first: Upgrade langchain to 1.5.2 and give each approval config a non-empty allowed_decisions list.
Symptom
Tools explicitly listed for human approval execute without an interrupt when their InterruptOnConfig omits, misspells or empties allowed_decisions. Yigtwxx reported this silent bypass, with after_model result: None and no exception or warning. Other users commented on the issue: gitbalaji; Debasish-87; RupeshKeesaram.
Cause
The constructor kept mapping entries only when their decision list was truthy. Invalid entries disappeared from the resolved configuration, so the approval gate was disabled for those tools.
Fix
1. Upgrade langchain to 1.5.2 (as of November 2026). (source) 2. Use the exact key allowed_decisions with a non-empty list, for example ["approve", "reject"]. The constructor now raises ValueError for missing or empty decisions. (source)
Fixed in
Fixed in langchain==1.3.15 (released 2026-08-11). PR #39247 merged 2026-08-05.
If it still fails
- A tool omitted from
interrupt_onis still auto-approved by default. Configuration validation does not add an approval requirement for omitted tools. - This fix targets missing, empty or misspelled decision configuration; it does not promise validation of every possible unknown configuration key.
Not for: LangChain re-attempting the original tool call after a human edit decision.
Sources
- HumanInTheLoopMiddleware silently auto-approves tools whose
InterruptOnConfigis invalid (typo'd or missingallowed_decisions), Yigtwxx, opened 2026-07-14; closed as completed on 2026-08-05: "HumanInTheLoopMiddleware silently auto-approves tools" - fix(langchain): stop HITL approval gates from silently failing open, imnishitha; closed and merged 2026-08-05.
- langchain==1.3.15, published 2026-08-11.
- langchain==1.5.2, published 2026-11-18.
- Source at langchain==1.5.2, current-release implementation.
Checked
2026-11-24; read the issue and linked comment API records, merged PR, fix release notes, langchain==1.5.2 release record and linked source at that tag; no command was run.
Started from a post by @Yigtwxx, packaged by the editor. Original post