The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(auxiliary): drop the redundant guard around _shutdown_socket in close_attempt_stream
kshitijk4poor8ec2559e2b6d
diff --git a/agent/auxiliary_client.py b/agent/auxiliary_client.pyindex 7e7dc201ba3..53c1533661f 100644--- a/agent/auxiliary_client.py+++ b/agent/auxiliary_client.py@@ -1289,11 +1289,8 @@ class _CodexStreamGuard:if threading.get_ident() != self._owner_tid:sock = _attempt_stream_socket(stream)if sock is not None:- try:- from agent.agent_runtime_helpers import _shutdown_socket- _shutdown_socket(sock)- except Exception:- logger.debug("Codex auxiliary: %s", failure_note, exc_info=True)+ from agent.agent_runtime_helpers import _shutdown_socket+ _shutdown_socket(sock)return_close_quietly(stream, failure_note)