Skip to content

The agent that grows with you

test(gateway): the session-policy fake runner carries the reasoning-override hook

Teknium41fe75cdbf28
diff --git a/tests/gateway/test_session_policy_verbs.py b/tests/gateway/test_session_policy_verbs.py
index e0c3e0fc798..f9c947183ac 100644
--- a/tests/gateway/test_session_policy_verbs.py
+++ b/tests/gateway/test_session_policy_verbs.py
@@ -25,6 +25,7 @@ def _owner(tmp_path, monkeypatch, handle):
db = store._db
runner = SimpleNamespace(session_store=store, _session_db=db, adapters={}, _draining=False,
_evict_cached_agent=lambda route: None, _cached_agent_for=lambda route: None,
+ _set_session_reasoning_override=lambda route, value: None,
_handle_message=handle, _resolve_session_agent_runtime=lambda **k: ('frozen', {}))
runner._adapter_for_source = lambda source: runner.adapters.get(source.platform)
authority = SessionAuthority(runner, profile_id='owned', instance_id='owner', db=db,