#9862 5b250b1 Thanks @stellarrover! - fix(langchain/agents): Fix ReactAgent routing with returnDirect + beforeModel middleware
This fixes a routing error when an agent has both tools with returnDirect: true and middleware with beforeModel hooks (e.g., summarizationMiddleware). Before this fix, non-returnDirect tools would fail with "Branch condition returned unknown or null destination".
Updated dependencies [6db417b, d69dfcc]:
Fetched April 7, 2026