context limit from user settings not actually applied #3201

Closed
opened 2025-11-11 15:25:32 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @pmffromspace on GitHub (Jan 6, 2025).

Installation Method

docker

Environment

  • Open WebUI Version: 0.5.4

  • Ollama: 0.4.7

  • Operating System: docker, debian12

  • Browser Firefox

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.
  • [ x] I have included the browser console logs.

Expected Behavior:

When settings context token and max_token limits in user settings, parameters should be actually used in every chat by default.

Actual Behavior:

Only when adjusting chat session settings the values are used

Description

Bug Summary:
I think this older issue might not be solved yet:

"I noticed that modifying the Context Length in Settings - Advanced Parameters doesn't actually pass that parameter in the request. Only changing the Context Length in Chat Controls - Advanced Params actually sends the parameter. This seems to be a bug in OpenWebUI."

Original issue: https://github.com/ollama/ollama/issues/6026#issuecomment-2277915109

Originally created by @pmffromspace on GitHub (Jan 6, 2025). ## Installation Method docker ## Environment - **Open WebUI Version:** 0.5.4 - **Ollama:** 0.4.7 - **Operating System:** docker, debian12 - **Browser** Firefox **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. - [ x] I have included the browser console logs. ## Expected Behavior: When settings **context token** and **max_token limits** in **user settings**, parameters should be actually used in every chat by default. ## Actual Behavior: Only when adjusting chat session settings the values are used ## Description **Bug Summary:** I think this older issue might not be solved yet: > "I noticed that modifying the Context Length in Settings - Advanced Parameters doesn't actually pass that parameter in the request. Only changing the Context Length in Chat Controls - Advanced Params actually sends the parameter. This seems to be a bug in OpenWebUI." Original issue: https://github.com/ollama/ollama/issues/6026#issuecomment-2277915109
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3201