The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(gateway): slash_commands_session resolves adapters through the intake/delivery seams
teknium142d142ba4147
diff --git a/gateway/slash_commands_session.py b/gateway/slash_commands_session.pyindex 33cef5f1e36..054c5999e67 100644--- a/gateway/slash_commands_session.py+++ b/gateway/slash_commands_session.py@@ -740,7 +740,7 @@ class GatewaySessionCommandsMixin:await asyncio.to_thread(_render_and_write)# Profile-aware: under multiplex the requester's bot lives in _profile_adapters, not self.adapters.- adapter = self._adapter_for_source(source)+ adapter = self._delivery_adapter_for(source)if not adapter:return "Platform adapter not found to send the document."await adapter.send_document(chat_id=source.chat_id, file_path=temp_path,