Skip to content

The agent that grows with you

Merge remote-tracking branch 'origin/main' into hermes/hermes-b802e898

teknium177123c0ef3e1
diff --cc tools/computer_use/tool.py
index c0b2c1f7af9,d55de0f15b2..c7db871c40a
--- a/tools/computer_use/tool.py
+++ b/tools/computer_use/tool.py
@@@ -213,9 -203,9 +209,9 @@@ def _shutdown_backend_atexit() -> None
if _backend is not None:
unique.setdefault(id(_backend), (_backend, _backend_call_locks.get("")))
_backend = None
- _backends.clear(), _backend_call_locks.clear(), _backend_permission_modes.clear()
+ _backends.clear(), _backend_call_locks.clear(), _backend_permission_modes.clear(), _backend_displays.clear()
with _approval_lock:
- _session_auto_approve.clear(), _always_allow.clear(), _escalation_warned.clear()
+ _escalation_warned.clear()
for backend, call_lock in unique.values():
_stop_backend(backend, call_lock, lambda e: logger.debug("cua-driver atexit teardown failed: %s", e))