Skip to content

bug(computer-server/agent): Fix scroll and drag on Anthropic models #885

@ddupont808

Description

@ddupont808

Currently the scroll tool and the drag tool fail on Anthropic models, which can be verified by running the following evals:

  • cb run fill-form --dataset cua-bench-basic --agent cua-agent --model claude-opus-4.5 (Requires scroll for 100% pass)
  • cb run drag-drop --dataset cua-bench-basic --agent cua-agent --model claude-opus-4.5 (Requires drag for 100% pass)

Problem:

  • The model is unable to scroll in the desired direction / magnitude
  • The model drag end position has incorrect coordinates

Possible causes:

  • Incorrect parsing of the 2nd coordinate
  • Current mapping of the scroll direction / magnitude is not what is expected by the anthropic computer tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions