The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): eviction-stub release-thread fakes accept session_key kwarg
kshitijk4poor526ce1b64cd1
diff --git a/tests/gateway/test_reaped_eviction_interrupts_run.py b/tests/gateway/test_reaped_eviction_interrupts_run.pyindex 76e407ef46a..26d76f16c83 100644--- a/tests/gateway/test_reaped_eviction_interrupts_run.py+++ b/tests/gateway/test_reaped_eviction_interrupts_run.py@@ -45,7 +45,7 @@ def _build_gateway(agent, events: list[tuple]):gateway._persist_active_agents = lambda: Nonegateway._agent_cache_lock = Nonegateway._agent_cache = {KEY: (agent, "signature", 0)}- gateway._spawn_release_thread = lambda target, args, name, inline_fallback: events.append(+ gateway._spawn_release_thread = lambda target, args, name, inline_fallback, **kw: events.append(("cache_release", args[0]))state = gateway._session_state(KEY)