[GH-ISSUE #11669] issue: Model appears in selection dropdown while being disabled #16318

Closed
opened 2026-04-19 22:16:23 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @bannert1337 on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11669

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.5.20

Ollama Version (if applicable)

v0.6.0

Operating System

Alpine Linux (Server), CachyOS (Client)

Browser (if applicable)

Zen Browser v1.9.1b (Firefox 136.0.1) (64-bit)

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using 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 listed steps to reproduce the bug in detail.

Expected Behavior

When models are disabled and appear as disabled in Admin Panel > Settings > Models they should not appear in the model selection dropdown nor be selectable.

Actual Behavior

Models are shown in the model selection dropdown of chats even though being disabled.

Steps to Reproduce

  1. Go to Admin Panel > Settings > Models
  2. Disable a model
  3. Go to New Chat
  4. Find model to still be available and selectable

Logs & Screenshots

Image

Image

Additional Information

There might be an issue with persisting the activation state of a model.

Open WebUI running in Docker compose stack:

services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG:-main}
    container_name: open-webui
    volumes:
      - open-webui:/app/backend/data
    ports:
      - ${OPEN_WEBUI_PORT:-3000}:8080
    environment:
      WEBUI_URL: https://chat.domain.tld
      ENABLE_SIGNUP: false
      ENABLE_COMMUNITY_SHARING: true
      ENABLE_OLLAMA_API: true
      OLLAMA_BASE_URL: http://ollama:11434
      ENABLE_RAG_WEB_SEARCH: true
      RAG_WEB_SEARCH_ENGINE: searxng
      RAG_WEB_SEARCH_RESULT_COUNT: 5
      RAG_WEB_SEARCH_CONCURRENT_REQUESTS: 25
      ENABLE_LOGIN_FORM: false
      RAG_RERANKING_MODEL:
      ENABLE_RAG_HYBRID_SEARCH: false
      ENABLE_WEBSOCKET_SUPPORT: "true"
      RAG_EMBEDDING_ENGINE: ollama
      AUDIO_STT_ENGINE: openai
      WEBSOCKET_MANAGER: "redis"
      WEBSOCKET_REDIS_URL: "redis://redis-valkey:6379/1"
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
      interval: 30s
      timeout: 10s
      retries: 5
    restart: unless-stopped

  redis:
    image: docker.io/valkey/valkey:alpine
    container_name: redis-valkey
    volumes:
      - redis-data:/data
    command: "valkey-server --save 30 1"
    healthcheck:
      test: "[ $$(valkey-cli ping) = 'PONG' ]"
      start_period: 5s
      interval: 1s
      timeout: 3s
      retries: 5
    restart: unless-stopped
    cap_drop:
      - ALL
    cap_add:
      - SETGID
      - SETUID
      - DAC_OVERRIDE
    logging:
      driver: "json-file"
      options:
        max-size: "1m"
        max-file: "1"

volumes:
  open-webui:
  redis-data:

I am using the OpenRouter pipe from the Open WebUI community:
https://openwebui.com/f/rburmorrison/openrouter

Originally created by @bannert1337 on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11669 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.5.20 ### Ollama Version (if applicable) v0.6.0 ### Operating System Alpine Linux (Server), CachyOS (Client) ### Browser (if applicable) Zen Browser v1.9.1b (Firefox 136.0.1) (64-bit) ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using 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 listed steps to reproduce the bug in detail. ### Expected Behavior When models are disabled and appear as disabled in `Admin Panel` > `Settings` > `Models` they should not appear in the model selection dropdown nor be selectable. ### Actual Behavior Models are shown in the model selection dropdown of chats even though being disabled. ### Steps to Reproduce 1. Go to `Admin Panel` > `Settings` > `Models` 2. Disable a model 3. Go to `New Chat` 4. Find model to still be available and selectable ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/00f9855d-065c-48f5-9e7c-c06997f846c8) ![Image](https://github.com/user-attachments/assets/f42401de-8d88-4629-8dd0-da84c708c24d) ### Additional Information There might be an issue with persisting the activation state of a model. Open WebUI running in Docker compose stack: ```yaml services: open-webui: image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG:-main} container_name: open-webui volumes: - open-webui:/app/backend/data ports: - ${OPEN_WEBUI_PORT:-3000}:8080 environment: WEBUI_URL: https://chat.domain.tld ENABLE_SIGNUP: false ENABLE_COMMUNITY_SHARING: true ENABLE_OLLAMA_API: true OLLAMA_BASE_URL: http://ollama:11434 ENABLE_RAG_WEB_SEARCH: true RAG_WEB_SEARCH_ENGINE: searxng RAG_WEB_SEARCH_RESULT_COUNT: 5 RAG_WEB_SEARCH_CONCURRENT_REQUESTS: 25 ENABLE_LOGIN_FORM: false RAG_RERANKING_MODEL: ENABLE_RAG_HYBRID_SEARCH: false ENABLE_WEBSOCKET_SUPPORT: "true" RAG_EMBEDDING_ENGINE: ollama AUDIO_STT_ENGINE: openai WEBSOCKET_MANAGER: "redis" WEBSOCKET_REDIS_URL: "redis://redis-valkey:6379/1" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health"] interval: 30s timeout: 10s retries: 5 restart: unless-stopped redis: image: docker.io/valkey/valkey:alpine container_name: redis-valkey volumes: - redis-data:/data command: "valkey-server --save 30 1" healthcheck: test: "[ $$(valkey-cli ping) = 'PONG' ]" start_period: 5s interval: 1s timeout: 3s retries: 5 restart: unless-stopped cap_drop: - ALL cap_add: - SETGID - SETUID - DAC_OVERRIDE logging: driver: "json-file" options: max-size: "1m" max-file: "1" volumes: open-webui: redis-data: ``` I am using the OpenRouter pipe from the Open WebUI community: https://openwebui.com/f/rburmorrison/openrouter
GiteaMirror added the bug label 2026-04-19 22:16:23 -05:00
Author
Owner

@tjbck commented on GitHub (Mar 14, 2025):

Model list will get updated after 1-3 seconds with refresh.

<!-- gh-comment-id:2724440527 --> @tjbck commented on GitHub (Mar 14, 2025): Model list will get updated after 1-3 seconds with refresh.
Author
Owner

@bannert1337 commented on GitHub (Mar 14, 2025):

@tjbck I have waited a week already, and also tried to enable and disable the model again. This is not a temporary problem.

<!-- gh-comment-id:2724464913 --> @bannert1337 commented on GitHub (Mar 14, 2025): @tjbck I have waited a week already, and also tried to enable and disable the model again. This is not a temporary problem.
Author
Owner

@tjbck commented on GitHub (Mar 14, 2025):

I cannot reproduce your issue @bannert1337, more details warranted here.

<!-- gh-comment-id:2724466963 --> @tjbck commented on GitHub (Mar 14, 2025): I cannot reproduce your issue @bannert1337, more details warranted here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16318