The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(gateway): run_agent_cache resolves adapters through the intake/delivery seams
teknium19bd796c4fbc8
diff --git a/gateway/run_agent_cache.py b/gateway/run_agent_cache.pyindex 19a7e0b086a..2d864fe54ed 100644--- a/gateway/run_agent_cache.py+++ b/gateway/run_agent_cache.py@@ -505,7 +505,7 @@ class GatewayAgentCacheMixin:)except Exception:logger.debug("agent_loop_stopped hook dispatch failed", exc_info=True)- adapter = self._adapter_for_source(source)+ adapter = self._delivery_adapter_for(source)interrupt_session_activity = getattr(type(adapter), "interrupt_session_activity", None)if adapter and callable(interrupt_session_activity):metadata = self._thread_metadata_for_source(source)