mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-21 00:52:24 -05:00
[GH-ISSUE #17901] issue: Incompatibility with Sonnet 4.5 #73034
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mike-stewart on GitHub (Sep 29, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17901
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.26
Ollama Version (if applicable)
No response
Operating System
Docker
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Using OpenWebUI with bedrock-access-gateway, per the Integrate with Amazon Bedrock doc, it should be possible to use the new Sonnet 4.5 model.
Actual Behavior
The following error is received:
Steps to Reproduce
See above.
Logs & Screenshots
See above.
Additional Information
This footnote in the What's new in Claude Sonnet 4.5 doc provides some context:
It would seem that we need the ability to disable one of those two parameters at the model level. Would it be possible to add this to the model config screen - to turn off parameters?
@Classic298 commented on GitHub (Sep 29, 2025):
Well it says right there
temperatureandtop_pcannot both be specified for this model. Please use only one.``you use these parameters somewhere, be it in the chat specific chat controls or in the advanced model parameters or in whatever middleware you use to integrate claude sonnet 4.5
@mike-stewart commented on GitHub (Sep 29, 2025):
@Classic298 I don't seem to be able to disable sending one of these parameters from within Open WebUI. Am I missing something?
@taylorwilsdon commented on GitHub (Sep 29, 2025):
Yes, set them under the Advanced params @mike-stewart. Just click them to default. This isn't specific to Anthropic or Claude, all the OpenAI reasoning models don't support temperature either (or some require it to be set specifically to 1)
@mike-stewart commented on GitHub (Sep 29, 2025):
@taylorwilsdon @Classic298 I checked that already. Here's a screenshot showing that both are currently set to default, but I'm getting the error anyway.
They are the same in model settings in the administration screen.
@Classic298 commented on GitHub (Sep 29, 2025):
@mike-stewart that's just the chat control, also check the model settings > advanced parameters
And ALSO check your middleware or whatever you use to integrate this model
@taylorwilsdon commented on GitHub (Sep 29, 2025):
That screenshot is of the user override panel, which won't matter here. Show the advanced settings view from Admin -> Models -> Sonnet 4.5. Works fine in Open WebUI fwiw, it's already live on my instance.
@Classic298 commented on GitHub (Sep 29, 2025):
@taylorwilsdon thanks for confirming it works for you
@mike-stewart commented on GitHub (Sep 29, 2025):
@Classic298 @taylorwilsdon This shows the same in my model settings. Note that they are both default.
Can this be reopened?
@Classic298 commented on GitHub (Sep 29, 2025):
Please answer my other question thoroughly.
If this isn't the cause either, then i can reopen
@mike-stewart commented on GitHub (Sep 29, 2025):
@Classic298 What would you like me to check specifically? I'm using the bedrock-access-gateway, following the OpenWebUI doc linked above. I don't have any model parameters configured in that - everything is default.
@Classic298 commented on GitHub (Sep 29, 2025):
I don't know how the BAG works exactly and therefore i am kindly asking you to verify what those defaults are, that are being set, and if necessary try overwriting the defaults by not setting the temperature or the top value as the error code suggests.
This is 99% not an Open WebUI issue but a misconfiguration somewhere on your Middleware.
Open WebUI supports claude sonent 4.5, and the error message is very clear about what the issue is.
Now you just need to find the culprit.
@WilJonesPropel commented on GitHub (Sep 30, 2025):
BAG has been updated to send the correct params for Sonnet 4.5.
66cb51bb36@mameesie commented on GitHub (Oct 21, 2025):
i have the same problem. i am using Anthropic Manifold Pipe to add antropic models. i added {"id": "claude-sonnet-4-5-20250929", "name": "claude-4.5-sonnet-20250929"} and on the first try i got the error "temperature and top_p cannot both be specified for this model. Please use only one."
@Classic298 commented on GitHub (Oct 21, 2025):
Need to modify your pipe then, this is not an open webui issue
@mameesie commented on GitHub (Oct 21, 2025):
you where right i changed the pipe and it works now