[PR #1369] [MERGED] fix(langgraph): handle wrapped LLM models in createReactAgent #1411

Closed
opened 2026-02-15 20:15:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1369
Author: @dqbd
Created: 7/7/2025
Status: Merged
Merged: 7/8/2025
Merged by: @dqbd

Base: mainHead: dqbd/prebuilt-nested-bind-tool-call


📝 Commits (2)

  • 47dac7c fix(langgraph): handle wrapped LLM models in createReactAgent
  • 4e34a93 Add changeset

📊 Changes

3 files changed (+242 additions, -15 deletions)

View changed files

.changeset/quick-colts-rhyme.md (+5 -0)
📝 libs/langgraph/src/prebuilt/react_agent_executor.ts (+109 -14)
📝 libs/langgraph/src/tests/prebuilt.test.ts (+128 -1)

📄 Description

This ensures that all of the edge cases wrapping llm are covered.

Closes #1217
Closes #1365


🔄 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/langgraphjs/pull/1369 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 7/7/2025 **Status:** ✅ Merged **Merged:** 7/8/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/prebuilt-nested-bind-tool-call` --- ### 📝 Commits (2) - [`47dac7c`](https://github.com/langchain-ai/langgraphjs/commit/47dac7cab451f9d450578c9224a3b19cc2853ccf) fix(langgraph): handle wrapped LLM models in createReactAgent - [`4e34a93`](https://github.com/langchain-ai/langgraphjs/commit/4e34a93a8ae415de42b4fdb09d0e6388db76b5f3) Add changeset ### 📊 Changes **3 files changed** (+242 additions, -15 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/quick-colts-rhyme.md` (+5 -0) 📝 `libs/langgraph/src/prebuilt/react_agent_executor.ts` (+109 -14) 📝 `libs/langgraph/src/tests/prebuilt.test.ts` (+128 -1) </details> ### 📄 Description This ensures that all of the edge cases wrapping `llm` are covered. Closes #1217 Closes #1365 --- <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-02-15 20:15:40 -05:00
yindo closed this issue 2026-02-15 20:15:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#1411