Skip to content

(Claude) Request fails with "all messages must have non-empty content" #409

@agzam

Description

@agzam

I set gptel-default-mode to org-mode and at first, it seemed that it's worked, but it sometimes can fail.

What I did:

  • Set gptel-default-mode to org-mode
  • Opened gptel buffer, started using it normally
  • at some point it fails with:
Claude error: (HTTP/2 400) messages.2: all messages must have non-empty content except for the optional final assistant message

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions