Skip to content

[BUG] OpenAI Compatible - Claude Opus 4.7 - temperature deprecated #215

@marty-a11y

Description

@marty-a11y

Describe the bug
Any attempt to use claude-opus-4-7 through the OpenAI Compatible provider results in an error about temperature being deprecated.

The following error occurs:

Error: `OpenAI completion error: 400 litellm.BadRequestError: BedrockException - {\"message\":\"The model returned the following errors: {\\\"type\\\":\\\"error\\\",\\\"request_id\\\":\\\"req_p2msrdcxdgpww2tqhgwewtvomrkhc2l2pe5xdananom42vw6tqja\\\",\\\"error\\\":{\\\"type\\\":\\\"invalid_request_error\\\",\\\"message\\\":\\\"`temperature` is deprecated for this model.\\\"}}\"}`

To Reproduce
Steps to reproduce the behavior:

  1. Set up OpenAI compatible with claude-opus-4-7
  2. Send any prompt.

Expected behavior
No error from the API

What version of zoo are you running
3.54.1

Additional context
Unfortunately I cannot share the server nor the credentials I'm using. But I'm told our server just "forwards" to upstream models, so my guess is it goes directly to Claude.

It may also be helpful to know that claude-opus-4-6, using otherwise identical settings, is working fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions