The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(relay): preserve legacy turn shims
Bryan Bednarski704baa5c3365
diff --git a/run_agent.py b/run_agent.pyindex bd2b6e5c29a..4eac53b7138 100644--- a/run_agent.py+++ b/run_agent.py@@ -7624,7 +7624,9 @@ class AIAgent:turn_id=relay_turn_id,task_id=effective_task_id,)- if relay_turn.relay_enabled:+ # Keep existing tests and external relay-runtime shims that return+ # a minimal turn object compatible with the new opt-out flag.+ if getattr(relay_turn, "relay_enabled", True):start_task_run(**task_context,parent_session_id=getattr(self, "_parent_session_id", None) or "",