The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(honcho): drop unread _client_slot_timeouts bookkeeping
Erosika3a7d29a8ad31
diff --git a/plugins/memory/honcho/client.py b/plugins/memory/honcho/client.pyindex 45dc7e26ea6..9bc27ca2334 100644--- a/plugins/memory/honcho/client.py+++ b/plugins/memory/honcho/client.py@@ -885,7 +885,6 @@ _honcho_client_slot: SingletonSlot = SingletonSlot()import threading as _threading_client_slots: dict[tuple, SingletonSlot] = {}-_client_slot_timeouts: dict[tuple, float] = {}_client_slots_lock = _threading.Lock()@@ -1017,7 +1016,6 @@ def _slot_for(key: tuple) -> SingletonSlot:]for k in stale:_client_slots.pop(k, None)- _client_slot_timeouts.pop(k, None)slot = SingletonSlot()_client_slots[key] = slotreturn slot@@ -1285,8 +1283,6 @@ def get_honcho_client(config: HonchoClientConfig | None = None) -> Honcho:if resolved_timeout is not None:kwargs["timeout"] = resolved_timeout- with _client_slots_lock:- _client_slot_timeouts[key] = resolved_timeoutreturn Honcho(**kwargs)return slot.get(_build)@@ -1296,6 +1292,5 @@ def reset_honcho_client() -> None:"""Reset all cached Honcho clients (tests, OAuth re-login)."""with _client_slots_lock:_client_slots.clear()- _client_slot_timeouts.clear()_honcho_client_slot.reset()_honcho_json_timeout_memo.clear()diff --git a/uv.lock b/uv.lockindex 796b7374927..dcf134b2c12 100644--- a/uv.lock+++ b/uv.lock@@ -12,12 +12,13 @@ exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included forexclude-newer-span = "P14D"[options.exclude-newer-package]+h2 = falsevercel = falseaiohttp = falsecryptography = falsenemo-relay = falsehuggingface-hub = false-h2 = false+honcho-ai = { timestamp = "0001-01-01T00:00:00Z", span = "PT0S" }[manifest]overrides = [