mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-09 21:38:47 -05:00
[GH-ISSUE #21959] issue: Enable/Disable All Models in the Admin Panel not working #35155
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 @thomase1234 on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21959
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.5
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
Latest stable Chrome and stable Firefox on Ubuntu
Confirmation
README.md.Expected Behavior
On this page
http://ubuntu-docker.:8282/admin/settings/models
I expected to be able to use the "Enable All" and "Disable All" to enable/disable all models at once.
Actual Behavior
Visually, it seems like the models are disabled or enabled because all toggles are flipped. However, if you refresh the page by browsing to another settings page and going back, you'll see that the action was not successful.
The only option is to flip each model one by one.
Steps to Reproduce
http://ubuntu-docker.:8282/admin/settings/models
Logs & Screenshots
Browser
=== HTTP Request ===
POST /api/v1/models/model/toggle?id=x-ai%2Fgrok-code-fast-1 HTTP/1.1
Host: ubuntu-docker..:8282
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
Accept: application/json
Accept-Language: en-US,en;q=0.9
Accept-Encoding: gzip, deflate
Referer: http://ubuntu-docker..:8282/admin/settings/models
Content-Type: application/json
authorization: Bearer
Origin: http://ubuntu-docker..:8282
Connection: keep-alive
Cookie: _ga_5VPR3EBECJ=GS2.1.s1768992873$o2$g0$t1768992908$j25$l0$h0; _ga=GA1.1.413728482.1765534637; token=
Priority: u=0
Content-Length: 0
=== HTTP Response ===
HTTP/1.1 401 Unauthorized
date: Sat, 28 Feb 2026 09:32:18 GMT
server: uvicorn
content-length: 57
content-type: application/json
x-process-time: 0
access-control-allow-origin: http://ubuntu-docker..:8282
access-control-allow-credentials: true
vary: Origin
Docker logs
2026-02-28 09:32:18.909 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.4.130:55636 - "POST /api/v1/models/model/toggle?id=x-ai%2Fgrok-code-fast-1 HTTP/1.1" 401
2026-02-28 09:32:18.920 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.4.130:55626 - "POST /api/v1/models/model/toggle?id=perplexity%2Fsonar-pro HTTP/1.1" 401
2026-02-28 09:32:18.924 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.4.130:55652 - "POST /api/v1/models/model/toggle?id=x-ai%2Fgrok-4.1-fast HTTP/1.1" 401
2026-02-28 09:32:18.928 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.4.130:55674 - "POST /api/v1/models/model/toggle?id=google%2Fgemini-2.0-flash-001 HTTP/1.1" 401
2026-02-28 09:32:18.931 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.4.130:55676 - "POST /api/v1/models/model/toggle?id=x-ai%2Fgrok-4-fast HTTP/1.1" 401
2026-02-28 09:32:18.941 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.4.130:55682 - "POST /api/v1/models/model/toggle?id=google%2Fgemini-2.0-flash-lite-001 HTTP/1.1" 401
Additional Information
Disabling the models one by one works fine. Apparently this makes another HTTP call which is executed fine.
@tjbck commented on GitHub (Feb 28, 2026):
Unable to reproduce.