Skip to content

The agent that grows with you

chore(evals): harness stubs follow the _delivery_adapter_for seam

teknium122d9d147b539
diff --git a/evals/gateway_status_render/iteration_ceiling_ab.py b/evals/gateway_status_render/iteration_ceiling_ab.py
index bb10a68783c..d75136bcf11 100644
--- a/evals/gateway_status_render/iteration_ceiling_ab.py
+++ b/evals/gateway_status_render/iteration_ceiling_ab.py
@@ -75,7 +75,7 @@ async def _heartbeat(agent) -> str:
mixin = GatewayTurnMixin()
adapter = MagicMock()
adapter.send = AsyncMock(return_value=SimpleNamespace(success=True, message_id="hb1"))
- mixin._adapter_for_source = MagicMock(return_value=adapter)
+ mixin._delivery_adapter_for = MagicMock(return_value=adapter)
mixin._should_emit_long_running_notification = MagicMock(side_effect=[True, False])
disp = MagicMock()
disp._display_surface_mode.return_value = "on"
diff --git a/evals/heartbeat_idle_wire.py b/evals/heartbeat_idle_wire.py
index b83404321df..8369dd5ad97 100644
--- a/evals/heartbeat_idle_wire.py
+++ b/evals/heartbeat_idle_wire.py
@@ -46,7 +46,7 @@ async def main(base_poller):
runner._run_in_executor_with_context = asyncio.to_thread
adapter = WireAdapter(PlatformConfig(enabled=True, typing_indicator=False), Platform.TELEGRAM)
adapter.wire = []
- runner._adapter_for_source = lambda source: adapter
+ runner._delivery_adapter_for = lambda source: adapter
source = SessionSource(platform=Platform.TELEGRAM, chat_id="42", user_id="42", chat_type="dm")
key = build_session_key(source)
watch = {key: (source, "wire-session")}