From 616bbe00524b7fa2b82c75c92ac9ce5fca73410d Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Fri, 9 May 2025 20:05:10 -0400 Subject: [PATCH] Fix get_accessibility_tree --- libs/computer/computer/interface/macos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/computer/computer/interface/macos.py b/libs/computer/computer/interface/macos.py index 2460086c..c2674352 100644 --- a/libs/computer/computer/interface/macos.py +++ b/libs/computer/computer/interface/macos.py @@ -523,7 +523,7 @@ class MacOSComputerInterface(BaseComputerInterface): result = await self._send_command("get_accessibility_tree") if not result.get("success", False): raise RuntimeError(result.get("error", "Failed to get accessibility tree")) - return result.get("tree", {}) + return result async def get_active_window_bounds(self) -> Dict[str, int]: """Get the bounds of the currently active window."""