Is it not possible to apply the tool_config settings in the subagent? #74

Closed
opened 2026-02-16 08:19:45 -05:00 by yindo · 2 comments
Owner

Originally created by @10000-ki on GitHub (Oct 13, 2025).

i think now the tool_config setting is only applicable within deepagent.

Is it possible to achieve the same control when calling the CUD tool from a sub_agent?

Originally created by @10000-ki on GitHub (Oct 13, 2025). i think now the tool_config setting is only applicable within deepagent. Is it possible to achieve the same control when calling the CUD tool from a sub_agent?
yindo closed this issue 2026-02-16 08:19:45 -05:00
Author
Owner

@nhuang-lc commented on GitHub (Oct 17, 2025):

Hey great question! This is now possible in deepagents==0.1.0 or later. The new argument name is interrupt_on (to match the argument in HumanInTheLoopMiddleware).

By default, the interrupt_on configuration that you specify in create_deep_agent is passed to all subagents. However, you can provide your own custom interrupt_on config to a subagent as well now through the SubAgent definition.

Let me know if this solves your issue!

@nhuang-lc commented on GitHub (Oct 17, 2025): Hey great question! This is now possible in `deepagents==0.1.0` or later. The new argument name is `interrupt_on` (to match the argument in HumanInTheLoopMiddleware). By default, the interrupt_on configuration that you specify in `create_deep_agent` is passed to all subagents. However, you can provide your own custom `interrupt_on` config to a subagent as well now through the SubAgent definition. Let me know if this solves your issue!
Author
Owner

@10000-ki commented on GitHub (Oct 19, 2025):

Hey great question! This is now possible in deepagents==0.1.0 or later. The new argument name is interrupt_on (to match the argument in HumanInTheLoopMiddleware).

oh thank u letting me know!!

i will try!! :)

@10000-ki commented on GitHub (Oct 19, 2025): > Hey great question! This is now possible in deepagents==0.1.0 or later. The new argument name is interrupt_on (to match the argument in HumanInTheLoopMiddleware). oh thank u letting me know!! i will try!! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagents#74