[GH-ISSUE #17922] issue: Claude Sonnet 4.5 - temperature and top_p cannot both be specified for this model #57105

Closed
opened 2026-05-05 20:36:10 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @atbtechdigital on GitHub (Sep 30, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17922

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.6.32

Ollama Version (if applicable)

N/A

Operating System

Windows11 and Ubuntu24.04

Browser (if applicable)

Chromium: 140.0.7339.207

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

The model provides a response

Actual Behavior

The error gets displayed: Uh-oh! There was an issue with the response.
400: An error occurred (ValidationException) when calling the ConverseStream operation: The model returned the following errors: temperature and top_p cannot both be specified for this model. Please use only one.

Steps to Reproduce

  1. Configure a OpenWeb UI and Bedrock Api Gateway (BAG) according to provided:
    https://docs.openwebui.com/tutorials/integrations/amazon-bedrock/
  2. Make sure that sonnet 4.5 is available on AWS Bedrock account
  3. Make sure that all other models (like e.g 3.5 Haiku work)
  4. Select sonnet 4.5 and make any query
  5. The error pops up

Logs & Screenshots

Image

Additional Information

No response

Originally created by @atbtechdigital on GitHub (Sep 30, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17922 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.6.32 ### Ollama Version (if applicable) N/A ### Operating System Windows11 and Ubuntu24.04 ### Browser (if applicable) Chromium: 140.0.7339.207 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior The model provides a response ### Actual Behavior The error gets displayed: Uh-oh! There was an issue with the response. 400: An error occurred (ValidationException) when calling the ConverseStream operation: The model returned the following errors: `temperature` and `top_p` cannot both be specified for this model. Please use only one. ### Steps to Reproduce 1. Configure a OpenWeb UI and Bedrock Api Gateway (BAG) according to provided: https://docs.openwebui.com/tutorials/integrations/amazon-bedrock/ 2. Make sure that sonnet 4.5 is available on AWS Bedrock account 3. Make sure that all other models (like e.g 3.5 Haiku work) 4. Select sonnet 4.5 and make any query 5. The error pops up ### Logs & Screenshots <img width="1318" height="391" alt="Image" src="https://github.com/user-attachments/assets/ed34e5fa-4a42-4667-ac5b-54f1d773bde2" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-05 20:36:10 -05:00
Author
Owner

@Classic298 commented on GitHub (Sep 30, 2025):

Duplicate of

https://github.com/open-webui/open-webui/issues/17901

Check your configuration of the middleware

Claude works for me fine and for another user also. Issue is not open webui related

<!-- gh-comment-id:3351227328 --> @Classic298 commented on GitHub (Sep 30, 2025): Duplicate of https://github.com/open-webui/open-webui/issues/17901 Check your configuration of the middleware Claude works for me fine and for another user also. Issue is not open webui related
Author
Owner

@Classic298 commented on GitHub (Sep 30, 2025):

BAG has been updated to send the correct params for Sonnet 4.5.
66cb51bb36

<!-- gh-comment-id:3351431038 --> @Classic298 commented on GitHub (Sep 30, 2025): BAG has been updated to send the correct params for Sonnet 4.5. https://github.com/aws-samples/bedrock-access-gateway/commit/66cb51bb36ea8fcea7c0074ea164843879090ccf
Author
Owner

@atbtechdigital commented on GitHub (Sep 30, 2025):

Just noticed , thx

<!-- gh-comment-id:3351442171 --> @atbtechdigital commented on GitHub (Sep 30, 2025): Just noticed , thx
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#57105