Skip to content

[Bug] LLM Provider error: Anthropic 400 + fix #542

Description

@A1kyy

Description

A clear description of what the bug is.

Steps to Reproduce

  1. Go to agent chat window
  2. send any message
  3. See error

unavailable: LLM provider error: Anthropic 400: {"type":"error","error":{"type":"invalid_request_error","message":"temperature is deprecated for this model."},"request_id":"[redacted]"}

Expected Behavior

an llm response

Actual Behavior

an error, refusing to send llm response

Environment

  • Deployment: Docker
  • Browser: Firefox 153.0.3
  • OS: Windows 10 Pro

Additional Context

Commenting out Temperature from the payload in backend\app\agents\providers\anthropic.py solves the issue

claude-sonnet-5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions