Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

refactor(agents-graph): drop redundant ``agent_finish_called`` set

0xallamfc967169565a
diff --git a/strix/tools/agents_graph/tools.py b/strix/tools/agents_graph/tools.py
index 03b21cae..a71cfa05 100644
--- a/strix/tools/agents_graph/tools.py
+++ b/strix/tools/agents_graph/tools.py
@@ -557,7 +557,8 @@ async def agent_finish(
default=str,
)
- inner["agent_finish_called"] = True
+ # ``agent_finish_called`` is set by ``StrixOrchestrationHooks.on_tool_end``;
+ # no need to set it here.
parent_notified = False
if report_to_parent: