Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
Fixed 'max() iterable argument is empty'
Dillon DuPont4693f2f0eb69
diff --git a/libs/computer-server/computer_server/diorama/draw.py b/libs/computer-server/computer_server/diorama/draw.pyindex ac90106e70..9fce809f37 100644--- a/libs/computer-server/computer_server/diorama/draw.py+++ b/libs/computer-server/computer_server/diorama/draw.py@@ -377,7 +377,7 @@ def draw_desktop_screenshot(app_whitelist: List[str] = None, all_windows: List[Ddock_orientation = "side" if dock_bounds["width"] < dock_bounds["height"] else "bottom"- menubar_length = max(item["bounds"]["x"] + item["bounds"]["width"] for item in menubar_items)+ menubar_length = max(item["bounds"]["x"] + item["bounds"]["width"] for item in menubar_items) if menubar_items else 0# Calculate bounds of app windowsapp_bounds = {