[PR #1493] [MERGED] feat(langgraph): add dynamic model choice to createReactAgent #1495

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

📋 Pull Request Information

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

Base: mainHead: dqbd/dynamic-model-choice


📝 Commits (2)

  • 2535231 feat(langgraph): add dynamic model choice to createReactAgent
  • d0b7e84 Add changeset

📊 Changes

4 files changed (+495 additions, -39 deletions)

View changed files

.changeset/quick-spoons-shop.md (+5 -0)
📝 libs/langgraph/src/prebuilt/react_agent_executor.ts (+75 -36)
📝 libs/langgraph/src/pregel/runnable_types.ts (+1 -3)
📝 libs/langgraph/src/tests/prebuilt.test.ts (+414 -0)

📄 Description

Port of https://github.com/langchain-ai/langgraph/pull/5651


🔄 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/1493 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 8/4/2025 **Status:** ✅ Merged **Merged:** 8/5/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/dynamic-model-choice` --- ### 📝 Commits (2) - [`2535231`](https://github.com/langchain-ai/langgraphjs/commit/25352311c91c9439de20da2d3c1317dc7d8c3fa1) feat(langgraph): add dynamic model choice to createReactAgent - [`d0b7e84`](https://github.com/langchain-ai/langgraphjs/commit/d0b7e84515d68d810e524b065937681ae623b356) Add changeset ### 📊 Changes **4 files changed** (+495 additions, -39 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/quick-spoons-shop.md` (+5 -0) 📝 `libs/langgraph/src/prebuilt/react_agent_executor.ts` (+75 -36) 📝 `libs/langgraph/src/pregel/runnable_types.ts` (+1 -3) 📝 `libs/langgraph/src/tests/prebuilt.test.ts` (+414 -0) </details> ### 📄 Description Port of https://github.com/langchain-ai/langgraph/pull/5651 --- <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:58 -05:00
yindo closed this issue 2026-02-15 20:15:58 -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#1495