Skip to content

[Bug]: Error Setting Max Context Tokens for claude-3-7 #6484

@911218sky

Description

@911218sky

What happened?

I'm trying to configure claude-3-7-sonnet-20250219, but when I set the Max Context Tokens, it barfs out this error:

[handleAbortError] AI response error; aborting request: Operation failed after 3 attempts: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: at least one message is required"}}

Image

Version Information

latest version

Steps to Reproduce

  1. Set the model to claude-3-7-sonnet.
  2. Configure the "Max Context Tokens".
  3. Send a message/prompt to the model.

What browsers are you seeing the problem on?

No response

Relevant log output

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

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