Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/strands_tools/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def _create_task_agent(self, task: Dict) -> Agent:

# Configure tools
filtered_tools = []
if task_tools and self.parent_agent and hasattr(self.parent_agent, "tool_registry"):
if isinstance(task_tools, list) and self.parent_agent and hasattr(self.parent_agent, "tool_registry"):
# Filter parent agent tools to only include specified tool names
available_tools = self.parent_agent.tool_registry.registry
for tool_name in task_tools:
Expand Down
Loading