Skip to content

Commit 98a6b70

Browse files
committed
Fix bug where exclude tool from message history propogated to subagents
1 parent eacc976 commit 98a6b70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/agent-runtime/src/tools/handlers/tool/spawn-agents.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export const handleSpawnAgents = (async (
121121
agentState: subAgentState,
122122
fingerprintId,
123123
isOnlyChild: agents.length === 1,
124+
excludeToolFromMessageHistory: false,
124125
parentSystemPrompt,
125126
parentTools: agentTemplate.inheritParentSystemPrompt
126127
? parentTools

0 commit comments

Comments
 (0)