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
multi turn fix
Dillon DuPontb7f3fbe3d36b
diff --git a/libs/agent/agent/providers/uitars/loop.py b/libs/agent/agent/providers/uitars/loop.pyindex 7100484ba2..14d35aef12 100644--- a/libs/agent/agent/providers/uitars/loop.py+++ b/libs/agent/agent/providers/uitars/loop.py@@ -338,7 +338,7 @@ class UITARSLoop(BaseLoop):"content": self._add_box_token(resp)})- # Add the latest image+ # Add the latest image with the instructionlatest_image = self.history_images[-1]if isinstance(latest_image, bytes):img_base64 = base64.b64encode(latest_image).decode("utf-8")@@ -347,7 +347,10 @@ class UITARSLoop(BaseLoop):messages.append({"role": "user",- "content": [{"type": "image_url", "image_url": {"url": f"data:image/png;base64,{img_base64}"}}]+ "content": [+ {"type": "text", "text": instruction},+ {"type": "image_url", "image_url": {"url": f"data:image/png;base64,{img_base64}"}}+ ]})# Log the API call