[PR #123] [CLOSED] Move sub-agent creation from _create_task_tool to inside task function #470

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagents/pull/123
Author: @ummtushar
Created: 9/21/2025
Status: Closed

Base: masterHead: move-agent-creation


📝 Commits (1)

  • 83bf621 Move sub-agent creation from _create_task_tool to inside task function

📊 Changes

1 file changed (+8 additions, -6 deletions)

View changed files

📝 src/deepagents/sub_agent.py (+8 -6)

📄 Description

This was related to issue #105

This change moves the creation of the agents dictionary from the tool creation time to inside the task function, making it dynamic per invocation. This allows for potential future flexibility but may impact performance.


🔄 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/123 **Author:** [@ummtushar](https://github.com/ummtushar) **Created:** 9/21/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `move-agent-creation` --- ### 📝 Commits (1) - [`83bf621`](https://github.com/langchain-ai/deepagents/commit/83bf62193364ef90282ef9bf1af43018b01c8873) Move sub-agent creation from _create_task_tool to inside task function ### 📊 Changes **1 file changed** (+8 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/deepagents/sub_agent.py` (+8 -6) </details> ### 📄 Description This was related to issue #105 This change moves the creation of the agents dictionary from the tool creation time to inside the task function, making it dynamic per invocation. This allows for potential future flexibility but may impact performance. --- <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:06 -05:00
yindo closed this issue 2026-02-16 09:16:06 -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#470