You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] OpenAI Compatible - Claude Opus 4.7 - temperature deprecated #215
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:
Set up OpenAI compatible with claude-opus-4-7
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.
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.
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 🙂
Activity
proyectoauraorg commentedon May 21, 2026
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.
test(openai): cover both temperature branches behind supportsTemperat…
fix(openai): omit temperature for models that don't support it (Zoo-C…
marty-a11y commentedon Jun 1, 2026
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 🙂