Bug: Can not set custom "context length" in settings (maximum too large) #1237

Closed
opened 2025-11-11 14:40:48 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @kozuch on GitHub (Jun 12, 2024).

Can not set custom "context length" in settings (maximum too large) > can not select small enough value

Steps to Reproduce:
Settings > General > Advanced parameters > Context Length > click "Default" > ruler will open - maximal value specified in the html INPUT tag is 10240000, which is too large > can not select reasonable value (4k, 16k etc.) with ruler

=> workaround > inspect HTML and overwrite the "max" INPUT attribute value to smaller number (like 128000)

Expected Behavior:
Set reasonable value with ruler

Actual Behavior:
Value too big with ruler movement

Environment

  • Open WebUI Version: v0.3.1

  • Ollama (if applicable): 0.1.43

  • Operating System: Win11

  • Browser (if applicable): Chrome 126.0.6478.36

Originally created by @kozuch on GitHub (Jun 12, 2024). Can not set custom "context length" in settings (maximum too large) > can not select small enough value **Steps to Reproduce:** Settings > General > Advanced parameters > Context Length > click "Default" > ruler will open - maximal value specified in the html INPUT tag is 10240000, which is too large > can not select reasonable value (4k, 16k etc.) with ruler => workaround > inspect HTML and overwrite the "max" INPUT attribute value to smaller number (like 128000) **Expected Behavior:** Set reasonable value with ruler **Actual Behavior:** Value too big with ruler movement ## Environment - **Open WebUI Version:** v0.3.1 - **Ollama (if applicable):** 0.1.43 - **Operating System:** Win11 - **Browser (if applicable):** Chrome 126.0.6478.36
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1237