Describe the bug
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
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."
}
}
Environment:
OS: Windows
VSCode extension: Zoo Code
Zoo Code version: 3.56.0
Mode: Code
Provider type: OpenAI-compatible
Provider shown in error: openai
Model: claude-opus-4-8
Error operation: ConverseStream
Comparison test:
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.
Describe the bug
Zoo Code fails when using the model
claude-opus-4-8through an OpenAI-compatible provider.The request is rejected with the following validation error:
It appears that Zoo Code may still be sending the
temperatureparameter when usingclaude-opus-4-8through the OpenAI-compatible provider. However, this model no longer accepts thetemperaturefield, 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:
claude-opus-4-8.你好temperature is deprecated for this model.Expected behavior
Zoo Code should send the request successfully and receive a normal response from
claude-opus-4-8through the OpenAI-compatible provider.If
claude-opus-4-8does not supporttemperature, Zoo Code should omit thetemperaturefield from the request entirely instead of sending it with any value.Screenshots
Not applicable.
Video
Not applicable.
What version of zoo are you running
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." } }Environment:
Comparison test:
Possible cause:
Zoo Code may be passing the deprecated
temperatureparameter toclaude-opus-4-8when using an OpenAI-compatible provider. For this model, the client likely needs to remove thetemperaturefield entirely from the request body.