Skip to content

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

Closed

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.

Activity

  1. added theissue type on May 20, 2026
  2. proyectoauraorg commented on May 21, 2026

    @proyectoauraorg
    Contributor

    Opened #233. The OpenAI-Compatible handler always sent `temperature`; it now honors the model's `supportsTemperature` flag (already respected by other providers) and omits it when set to false. As a workaround until merge, you can toggle Supports temperature → off on the model in settings.

  3. marty-a11y commented on Jun 1, 2026

    @marty-a11y
    Author

    I see that this is fixed, and the PR is merged. Thank you!

    But the latest release still returns the same error for me. I'm not sure if it is released yet (changelogs are empty in releases) but I do see on the right it is tagged for 3.55. And I have 3.56 installed, so... Maybe the fix doesn't work, or maybe it slipped through, or maybe that tag is bollocks 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions