Skip to content

claude compatibility #157

Description

@xver101

Using desktop UI 1.4.5in flatpak on opensuse with anthropic LLM.

Across a range of simple requests, it starts to work.. finds some relevant websites... but then reliably ends with the following error:

Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages: Unexpected role "tool". Allowed roles are "user" or "assistant". For instructions on how to use tools, see https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview.'}, 'request_id': 'req_011CdJNd6NQ5b2hpTA7Y5jHi'}

This seems to be some incompatibility with the prompt format accepted by anthropic. I am not sure if they changed some specs or a bug crept in another way.

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