From 6e28da7213657a5084d3d73d9cdf253f42b44928 Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Tue, 29 Jul 2025 15:05:45 -0400 Subject: [PATCH] Renamed action from mouse_move to mouse --- libs/python/agent/agent/loops/anthropic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/python/agent/agent/loops/anthropic.py b/libs/python/agent/agent/loops/anthropic.py index 7c7ed3ce..02ac1c29 100644 --- a/libs/python/agent/agent/loops/anthropic.py +++ b/libs/python/agent/agent/loops/anthropic.py @@ -326,13 +326,13 @@ def _convert_responses_items_to_completion_messages(messages: Messages) -> List[ "text": "+".join(action.get("keys", [])) } }) - elif action_type == "mouse_move": + elif action_type in ["mouse_move", "move"]: # Input: # { # "type": "computer_call", # "call_id": "call_1", # "action": { - # "type": "mouse_move", + # "type": "move", # "x": 150, # "y": 250 # }