[GH-ISSUE #8393] Advanced params not shown/used #15107

Closed
opened 2026-04-19 21:24:04 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @arty-hlr on GitHub (Jan 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8393

Bug Report

Installation Method

Docker

Environment

  • Open WebUI Version: v0.5.4

  • Ollama (if applicable): 0.3.9

  • Operating System: Ubuntu 24.0

  • Browser (if applicable): Firefox 133.0.3
    Confirmation:

  • I have read and followed all the instructions provided in the README.md.

  • I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

The advanced parameters set in the model setting pages should be used (yes they were saved).
image

Actual Behavior:

The settings set previously are not shown when opening Controls in the chat:
image

and they don't seem to get sent, either params is empty:
image

or it has num_ctx but it's set to null:
image

Description

Bug Summary:
The set advanced parameters per model don't seem to be respected to be sent to the API endpoint (groq in this case, openAI compatible).

Reproduction Details

Steps to Reproduce:

  • set context in the model advanced parameters for example
  • open a new chat and check the Controls settings
  • check the request actual sent (POST to /api/chat/completions)

Logs and Screenshots

Included above

Additional Information


Originally created by @arty-hlr on GitHub (Jan 8, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8393 # Bug Report ## Installation Method Docker ## Environment - **Open WebUI Version:** v0.5.4 - **Ollama (if applicable):** 0.3.9 - **Operating System:** Ubuntu 24.0 - **Browser (if applicable):** Firefox 133.0.3 **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: The advanced parameters set in the model setting pages should be used (yes they were saved). ![image](https://github.com/user-attachments/assets/60ee485f-0b39-4cc7-9e5a-4e04907dd021) ## Actual Behavior: The settings set previously are not shown when opening Controls in the chat: ![image](https://github.com/user-attachments/assets/112257a7-ab47-4425-8ca4-44e053b91065) and they don't seem to get sent, either `params` is empty: ![image](https://github.com/user-attachments/assets/ebc227cd-ff90-4308-9932-b7abc3c6dd60) or it has `num_ctx` but it's set to `null`: ![image](https://github.com/user-attachments/assets/9b59f998-1a4c-49cc-8e07-aa39812d93b0) ## Description **Bug Summary:** The set advanced parameters per model don't seem to be respected to be sent to the API endpoint (groq in this case, openAI compatible). ## Reproduction Details **Steps to Reproduce:** - set `context` in the model advanced parameters for example - open a new chat and check the Controls settings - check the request actual sent (POST to /api/chat/completions) ## Logs and Screenshots Included above ## Additional Information ---
Author
Owner

@tjbck commented on GitHub (Jan 8, 2025):

Model params are applied from the backend.

<!-- gh-comment-id:2576520465 --> @tjbck commented on GitHub (Jan 8, 2025): Model params are applied from the backend.
Author
Owner

@arty-hlr commented on GitHub (Jan 8, 2025):

Model params are applied from the backend.

@tjbck I'm not sure what you mean by that or why this closes this issue...

<!-- gh-comment-id:2577224504 --> @arty-hlr commented on GitHub (Jan 8, 2025): > Model params are applied from the backend. @tjbck I'm not sure what you mean by that or why this closes this issue...
Author
Owner

@tjbck commented on GitHub (Jan 8, 2025):

https://docs.openwebui.com/features/chat-features/chat-params

<!-- gh-comment-id:2577226315 --> @tjbck commented on GitHub (Jan 8, 2025): https://docs.openwebui.com/features/chat-features/chat-params
Author
Owner

@arty-hlr commented on GitHub (Jan 8, 2025):

@tjbck This is about the hierarchy of parameters and is irrelevant to the issue or to your comment. The problem is that the parameters set for the model are neither shown nor used in the request to the endpoint.

<!-- gh-comment-id:2577610942 --> @arty-hlr commented on GitHub (Jan 8, 2025): @tjbck This is about the hierarchy of parameters and is irrelevant to the issue or to your comment. The problem is that the parameters set for the model are neither shown nor used in the request to the endpoint.
Author
Owner

@tjbck commented on GitHub (Jan 8, 2025):

like I mentioned, the params set from the models page is applied from the backend and it is applied before the request gets sent off to its respective model providers. and it's not supposed be shown in the chat controls. Hope that helps!

<!-- gh-comment-id:2578488969 --> @tjbck commented on GitHub (Jan 8, 2025): like I mentioned, the params set from the models page is applied from the **backend** and it is **applied** before the request gets sent off to its respective model providers. and it's not supposed be shown in the chat controls. Hope that helps!
Author
Owner

@arty-hlr commented on GitHub (Jan 8, 2025):

Ok, I understand that it won't be shown to the user, which could be confusing though as it shows "default", but alright. About the parameters being applied I think I showed that it wasn't sent at all... Could this be reopened please @tjbck?

<!-- gh-comment-id:2578833815 --> @arty-hlr commented on GitHub (Jan 8, 2025): Ok, I understand that it won't be shown to the user, which could be confusing though as it shows "default", but alright. About the parameters being applied I think I showed that it wasn't sent at all... Could this be reopened please @tjbck?
Author
Owner

@tandav commented on GitHub (Feb 7, 2025):

Same here, very confusing. I thought you set default params for model (as admin) and these parameters will be set in new chat params (but user can change them to something they like).

<!-- gh-comment-id:2641967852 --> @tandav commented on GitHub (Feb 7, 2025): Same here, very confusing. I thought you set default params for model (as admin) and these parameters will be set in new chat params (but user can change them to something they like).
Author
Owner

@HeyItsDaddy commented on GitHub (Feb 12, 2025):

I'm having the same issue. Container was started with --gpus all, and running nvidia-smi in the container shows it's running correctly. But no matter where I set the num_gpu setting (whether it's direct in Advanced Params on the chat itself, or in Admin Panel | Settings | Models | | Advanced Params; it does not seem to ever "stick" and it's running purely on CPU and not GPU.

I'm open to anything you can suggest to run / prove that the parameter is or is not being sent through, or checking the backend logs to see if it's actually being sent or not. As of right now it does not seem to be respecting it.

<!-- gh-comment-id:2653977367 --> @HeyItsDaddy commented on GitHub (Feb 12, 2025): I'm having the same issue. Container was started with --gpus all, and running nvidia-smi in the container shows it's running correctly. But no matter where I set the num_gpu setting (whether it's direct in Advanced Params on the chat itself, or in Admin Panel | Settings | Models | <model in question> | Advanced Params; it does not seem to ever "stick" and it's running purely on CPU and not GPU. I'm open to anything you can suggest to run / prove that the parameter is or is not being sent through, or checking the backend logs to see if it's actually being sent or not. As of right now it does not seem to be respecting it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15107