Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions libs/python/agent/agent/loops/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,16 +482,16 @@ def _convert_responses_items_to_completion_messages(
scroll_y = action.get("scroll_y", 0)
# Determine direction and amount from scroll values
if scroll_x > 0:
direction = "left"
direction = "right"
amount = scroll_x
elif scroll_x < 0:
direction = "right"
direction = "left"
amount = -scroll_x
elif scroll_y > 0:
direction = "up"
direction = "down"
amount = scroll_y
elif scroll_y < 0:
direction = "down"
direction = "up"
amount = -scroll_y
else:
direction = "down"
Expand Down