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] claude-opus-4-7 / claude-opus-4-8 fail because sends deprecated temperature parameter #432
Zoo Code fails when using the model claude-opus-4-8 through an OpenAI-compatible provider.
The request is rejected with the following validation error:
An error occurred (ValidationException) when calling the ConverseStream operation:
The model returned the following errors:
`temperature` is deprecated for this model.
It appears that Zoo Code may still be sending the temperature parameter when using claude-opus-4-8 through the OpenAI-compatible provider. However, this model no longer accepts the temperature field, so the parameter likely needs to be omitted entirely from the request.
The same OpenAI-compatible provider configuration works with claude-opus-4-6, so the provider configuration, API key, and network connection appear to be valid.
To Reproduce
Steps to reproduce the behavior:
Open VSCode with Zoo Code installed.
Configure an OpenAI-compatible provider.
Select the model claude-opus-4-8.
Open Code mode.
Send a simple message, for example: 你好
The request fails immediately with the error: temperature is deprecated for this model.
Expected behavior
Zoo Code should send the request successfully and receive a normal response from claude-opus-4-8 through the OpenAI-compatible provider.
If claude-opus-4-8 does not support temperature, Zoo Code should omit the temperature field from the request entirely instead of sending it with any value.
Screenshots
Not applicable.
Video
Not applicable.
What version of zoo are you running
3.56.0
Additional context
Error payload:
{
"error": {
"timestamp": "2026-06-01T10:36:21.904Z",
"version": "3.56.0",
"provider": "openai",
"model": "claude-opus-4-8",
"details": "An error occurred (ValidationException) when calling the ConverseStream operation: The model returned the following errors: `temperature` is deprecated for this model."
}
}
claude-opus-4-6 works with the same provider configuration
claude-opus-4-8 fails with: `temperature` is deprecated for this model
Possible cause:
Zoo Code may be passing the deprecated temperature parameter to claude-opus-4-8 when using an OpenAI-compatible provider. For this model, the client likely needs to remove the temperature field entirely from the request body.
I can confirm the exact same issue occurs for me. Doesn't look like i can just remove temp for that model. Also advanced settings has 'custom temp' unselected, but no way to ensure that temp isn't sent with the request.
EDIT: I found that setting the custom temp to '1' somehow works..... ? ... how does that make sense
Activity
jhlmco commentedon Jun 1, 2026
I can confirm the exact same issue occurs for me. Doesn't look like i can just remove temp for that model. Also advanced settings has 'custom temp' unselected, but no way to ensure that temp isn't sent with the request.
EDIT: I found that setting the custom temp to '1' somehow works..... ? ... how does that make sense