langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(langchain): refuse gated tool calls that batched HITL review never saw In batched mode, `HumanInTheLoopMiddleware` reviews the tool calls in the model's latest message in `after_model`. A tool call that reaches the tool node some other way, such as one that middleware running model-written code makes through the tool-call chain, ran with no review even when its tool is in `interrupt_on`. Batched `wrap_tool_call` now returns an error `ToolMessage` instead of running such a call. A call counts as reviewed when its ID and tool name match a tool call in the model's latest message, so the model's own calls, including ones a reviewer edited, run as before. The `when` predicate applies as in `per_call` mode, so a call it declines still runs.
byhow/langchain/hitl-refuse-unreviewed
56 minutes ago
fix(core): cap nesting depth in `load()` (#41742) `load()` recursed once per dict/list level with no bound, so deeply nested input failed with a bare `RecursionError`. It now stops past 200 levels with a `ValueError` naming the limit, which callers already handle like other rejected payloads. `loads()` goes through the same path; errors from `json.loads` itself are left as they are. Added tests for over-cap lists and dicts through `load()` and `loads()`, and for input right at the cap.
master
1 hour ago
fix(core): let `json.loads` errors propagate from `loads()`
hunter/load-max-depth
3 hours ago
fix(core): raise depth-limit error when `loads()` parse recurses too deep
hunter/load-max-depth
3 hours ago
accommodate blockbuster
cc/decisions-middleware
5 hours ago
update
cc/decisions-typesafe
5 hours ago
pare back some changes
cc/decisions-core
6 hours ago
pare back change
cc/decisions-middleware
6 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(langchain): refuse gated tool calls that batched HITL review never saw
#41775
1 hour ago
5f6aa73
byhow/langchain/hitl-refuse-unreviewed
CodSpeed Performance Gauge
0%
fix(core): cap nesting depth in `load()`
#41742
3 hours ago
0d9ebd7
hunter/load-max-depth
CodSpeed Performance Gauge
0%
feat(langchain): add model router and auto mode middleware
#41766
6 hours ago
004ca71
cc/decisions-middleware
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs