[GH-ISSUE #9021] Deactivated Models still selectable #135085

Closed
opened 2026-05-25 01:39:33 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @miranyx on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9021

Bug Report

Installation Method

Docker Compose

Environment

  • Open WebUI Version: v0.5.7

  • Ollama (if applicable):

  • Operating System: macos 14.5

  • Browser (if applicable): Zen 1.7.2b

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.
  • [ X ] 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:

When deactivating a model through the toogle that it would no longer be selectable.

Actual Behavior:

I can still select it and it cluters the list.

Description

Bug Summary:

When deactivating a model via the toggle, it does not get removed from selctions.

Reproduction Details

Steps to Reproduce:

  • Add many models to open webui (eg through openrouter.ai)
  • Deactivate all models
  • See that they are still in reoder and on the main page.

Logs and Screenshots

Browser Console Logs:

Nothing is logged.

Docker Container Logs:

openwebui-1  | INFO  [open_webui.routers.openai] get_all_models()

Screenshots/Screen Recordings (if applicable):

Image Image

Additional Information

I alreaded restarted the container and also reloaded with bypassing the browsers cache.

Originally created by @miranyx on GitHub (Jan 28, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/9021 # Bug Report ## Installation Method Docker Compose ## Environment - **Open WebUI Version:** v0.5.7 - **Ollama (if applicable):** - **Operating System:** macos 14.5 - **Browser (if applicable):** Zen 1.7.2b **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. - [ X ] 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: When deactivating a model through the toogle that it would no longer be selectable. ## Actual Behavior: I can still select it and it cluters the list. ## Description **Bug Summary:** When deactivating a model via the toggle, it does not get removed from selctions. ## Reproduction Details **Steps to Reproduce:** - Add many models to open webui (eg through openrouter.ai) - Deactivate all models - See that they are still in reoder and on the main page. ## Logs and Screenshots **Browser Console Logs:** Nothing is logged. **Docker Container Logs:** ``` openwebui-1 | INFO [open_webui.routers.openai] get_all_models() ``` **Screenshots/Screen Recordings (if applicable):** <img width="474" alt="Image" src="https://github.com/user-attachments/assets/121b3e97-7387-4ebf-bbfb-89db05a16fd3" /> <img width="602" alt="Image" src="https://github.com/user-attachments/assets/10c5cd1c-e31e-49ab-8593-22d5ce8f02cd" /> ## Additional Information I alreaded restarted the container and also reloaded with bypassing the browsers cache.
Author
Owner

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

Intended behaviour (model caching) here, if you refresh the page it'll be updated.

<!-- gh-comment-id:2620029704 --> @tjbck commented on GitHub (Jan 28, 2025): Intended behaviour (model caching) here, if you refresh the page it'll be updated.
Author
Owner

@unleashit commented on GitHub (Jan 29, 2025):

I have the same issue but the issue persists even after clearing all browser cache and restarting the open webui server. Where is the caching being done, and how to bust it?

I'm running it on native windows (no docker) if that matters,. In my case, I've connected to open router and am trying to blacklist a bunch (it would be more work to try to white list, although right now I'm new to open webui and don't know if it could cause issues to have it pull in the full model list).

<!-- gh-comment-id:2620517706 --> @unleashit commented on GitHub (Jan 29, 2025): I have the same issue but the issue persists even after clearing all browser cache and restarting the open webui server. Where is the caching being done, and how to bust it? I'm running it on native windows (no docker) if that matters,. In my case, I've connected to open router and am trying to blacklist a bunch (it would be more work to try to white list, although right now I'm new to open webui and don't know if it could cause issues to have it pull in the full model list).
Author
Owner

@miranyx commented on GitHub (Jan 29, 2025):

@tjbck like I said in the issue, I restarted the container and hard reloaded the page. I also checked on a different device which never accessed my hosted instance before it still has it.

<!-- gh-comment-id:2620761328 --> @miranyx commented on GitHub (Jan 29, 2025): @tjbck like I said in the issue, I restarted the container and hard reloaded the page. I also checked on a different device which never accessed my hosted instance before it still has it.
Author
Owner

@miranyx commented on GitHub (Jan 31, 2025):

@tjbck could you please reopen it since I still have the issue, even when reloading the page.

<!-- gh-comment-id:2626656748 --> @miranyx commented on GitHub (Jan 31, 2025): @tjbck could you please reopen it since I still have the issue, even when reloading the page.
Author
Owner

@TomBayne commented on GitHub (Feb 1, 2025):

I'm having the same issue!

Tried new browser, new device, restarting the docker container.

@tjbck this should be reopened.

<!-- gh-comment-id:2629123371 --> @TomBayne commented on GitHub (Feb 1, 2025): I'm having the same issue! Tried new browser, new device, restarting the docker container. @tjbck this should be reopened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#135085