[PR #73] [CLOSED] Align create_deep_agent model parameters with create_react_agent #442

Closed
opened 2026-02-16 09:16:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagents/pull/73
Author: @Major-wagh
Created: 8/25/2025
Status: Closed

Base: masterHead: siddharth/deep-agent-flexible-models


📝 Commits (3)

  • 5f4c54c align create_deep_agent model parameters with create_react_agent
  • 89cdcfd Merge branch 'master' into siddharth/deep-agent-flexible-models
  • e55cf17 Merge branch 'master' into siddharth/deep-agent-flexible-models

📊 Changes

1 file changed (+66 additions, -7 deletions)

View changed files

📝 src/deepagents/graph.py (+66 -7)

📄 Description

feat: Align create_deep_agent model parameter with create_react_agent

  • Add support for dynamic model selection via callable functions
  • Enable async model selection with Awaitable types
  • Support custom Runnable[LanguageModelInput, BaseMessage] models
  • Maintain backward compatibility with existing string/LanguageModelLike usage
  • Update docstring with comprehensive model parameter documentation

Fixes artificial limitation where create_deep_agent couldn't access
advanced model features that create_react_agent already supported.


🔄 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/deepagents/pull/73 **Author:** [@Major-wagh](https://github.com/Major-wagh) **Created:** 8/25/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `siddharth/deep-agent-flexible-models` --- ### 📝 Commits (3) - [`5f4c54c`](https://github.com/langchain-ai/deepagents/commit/5f4c54cd1fa5d7b49fa16e43093165899b13df65) align create_deep_agent model parameters with create_react_agent - [`89cdcfd`](https://github.com/langchain-ai/deepagents/commit/89cdcfdd6479522b006f95fb6e9e8497a777710f) Merge branch 'master' into siddharth/deep-agent-flexible-models - [`e55cf17`](https://github.com/langchain-ai/deepagents/commit/e55cf1747dfb6747cada79627a652ce2bd90af92) Merge branch 'master' into siddharth/deep-agent-flexible-models ### 📊 Changes **1 file changed** (+66 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/deepagents/graph.py` (+66 -7) </details> ### 📄 Description feat: Align create_deep_agent model parameter with create_react_agent - Add support for dynamic model selection via callable functions - Enable async model selection with Awaitable types - Support custom Runnable[LanguageModelInput, BaseMessage] models - Maintain backward compatibility with existing string/LanguageModelLike usage - Update docstring with comprehensive model parameter documentation Fixes artificial limitation where create_deep_agent couldn't access advanced model features that create_react_agent already supported. --- <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-16 09:16:02 -05:00
yindo closed this issue 2026-02-16 09:16:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagents#442