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: move ``run_loop`` into ``strix/orchestration/``

0xallam5896f25cec39
diff --git a/strix/entry.py b/strix/entry.py
index f825ed70..1bfe8c85 100644
--- a/strix/entry.py
+++ b/strix/entry.py
@@ -26,12 +26,12 @@ from strix.agents.factory import build_strix_agent, make_child_factory
from strix.config import load_settings
from strix.orchestration.bus import AgentMessageBus
from strix.orchestration.hooks import StrixOrchestrationHooks
+from strix.orchestration.run_loop import run_with_continuation
from strix.run_config_factory import (
STRIX_DEFAULT_MAX_TURNS,
make_agent_context,
make_run_config,
)
-from strix.run_loop import run_with_continuation
from strix.runtime import session_manager
diff --git a/strix/run_loop.py b/strix/orchestration/run_loop.py
similarity index 100%
rename from strix/run_loop.py
rename to strix/orchestration/run_loop.py
diff --git a/strix/tools/agents_graph/tools.py b/strix/tools/agents_graph/tools.py
index b56cdebf..8b6ee426 100644
--- a/strix/tools/agents_graph/tools.py
+++ b/strix/tools/agents_graph/tools.py
@@ -25,8 +25,8 @@ from agents import RunContextWrapper, function_tool
from agents.items import TResponseInputItem
from strix.orchestration.hooks import StrixOrchestrationHooks
+from strix.orchestration.run_loop import run_with_continuation
from strix.run_config_factory import make_agent_context, make_run_config
-from strix.run_loop import run_with_continuation
if TYPE_CHECKING: