Skip to content

Extra 'caller' Field in Request Breaks computer-use Between v0.74.1 and v0.75.0 #1112

@paragchandra

Description

@paragchandra

I observe the following with my computer-use application when I upgrade to v0.75.0 of the Anthropic Python SDK:

anthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages.1.content.1.tool_use.caller: Extra inputs are not permitted'}, 'request_id': 'req_011CWtR3e2Pnww7S8JnEs2DE'}

This error does not occur w/ v0.74.1 of the same SDK. I have attached some Python code which should enable you to reproduce the problem.

simple_demo.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions