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
fix: correct inverted scroll direction mapping in Anthropic agent loop (#1281)
Ricardo-M-L95f60f3f8bfe
diff --git a/libs/python/agent/agent/loops/anthropic.py b/libs/python/agent/agent/loops/anthropic.pyindex e0e087008f..194a1524e7 100644--- a/libs/python/agent/agent/loops/anthropic.py+++ b/libs/python/agent/agent/loops/anthropic.py@@ -482,16 +482,16 @@ def _convert_responses_items_to_completion_messages(scroll_y = action.get("scroll_y", 0)# Determine direction and amount from scroll valuesif scroll_x > 0:- direction = "left"+ direction = "right"amount = scroll_xelif scroll_x < 0:- direction = "right"+ direction = "left"amount = -scroll_xelif scroll_y > 0:- direction = "up"+ direction = "down"amount = scroll_yelif scroll_y < 0:- direction = "down"+ direction = "up"amount = -scroll_yelse:direction = "down"