diff --git a/strix/agents/factory.py b/strix/agents/factory.py index a1f2a33de..23b96f511 100644 --- a/strix/agents/factory.py +++ b/strix/agents/factory.py @@ -686,9 +686,9 @@ def build_strix_agent( agent_tools = [*_EXTRA_TOOLS, *(extra_tools or [])] if interactive: - # yielding to the user is only meaningful when one is attached + # Yielding to the user is only meaningful when one is attached. agent_tools.append(respond_to_user) - + if is_root: tools: list[Tool] = [*_BASE_TOOLS, *agent_tools, finish_scan] else: