[GH-ISSUE #23060] issue: adding new openai (compatible) connection does not show models from that connection #58542

Closed
opened 2026-05-05 23:23:02 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @pfn on GitHub (Mar 26, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23060

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.8.11

Ollama Version (if applicable)

n/a

Operating System

debian 13

Browser (if applicable)

chrome

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Adding a new connection should immediately make its models visible in /api/models

It is visible in /api/models/base, but not visible in /api/models (can see in admin, cannot see to select model to chat)

Actual Behavior

Models are not visible in /api/models

Steps to Reproduce

This is my 3rd connection, my 2nd connection did not have this problem.

Add a 3rd openai-compatible connection, and observe that the models are not visible in /api/models, but they are however visible in /api/models/base.

Originally, I added the connection without the prefix, to make it easier to see that the models are missing, I have added a prefix to the connection "spark"

Repro steps for me:

  • add 3rd openai connection
  • set a prefix spark
  • curl base_url/api/models | jq | grep spark # see no results
  • curl base_url/api/models/base | jq | grep spark # see results
  • curl base_url/api/models | jq | grep spark # see no results

restarting openwebui does not make the models visible

Logs & Screenshots

pfnguyen@atheneum:~$ curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.MYADMINTOKEN-" http://localhost:3000/api/models | jq | grep spark.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  104k  100  104k    0     0  2592k      0 --:--:-- --:--:-- --:--:-- 2614k
pfnguyen@atheneum:~$ curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.MYADMINTOKEN-" http://localhost:3000/api/models
/base | jq | grep spark.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 37568  100 37568    0     0  1669k      0 --:--:-- --:--:-- --:--:-- 1747k
      "id": "spark./models/Qwen3.5-35B-A3B-NVFP4",
      "name": "spark./models/Qwen3.5-35B-A3B-NVFP4",
        "id": "spark./models/Qwen3.5-35B-A3B-NVFP4",
pfnguyen@atheneum:~$ curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.MYADMINTOKEN-" http://localhost:3000/api/models | jq | grep spark.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  104k  100  104k    0     0  2270k      0 --:--:-- --:--:-- --:--:-- 2273k
pfnguyen@atheneum:~$ curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.MYADMINTOKEN-"" http://localhost:3000/api/models/base | jq | grep spark.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 37568  100 37568    0     0  4520k      0 --:--:-- --:--:-- --:--:-- 4585k
      "id": "spark./models/Qwen3.5-35B-A3B-NVFP4",
      "name": "spark./models/Qwen3.5-35B-A3B-NVFP4",
        "id": "spark./models/Qwen3.5-35B-A3B-NVFP4",

Additional Information

I have only added this third connection tonight, so am unsure if this is a pre-existing problem, or a new regression, etc.

Originally created by @pfn on GitHub (Mar 26, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/23060 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.8.11 ### Ollama Version (if applicable) n/a ### Operating System debian 13 ### Browser (if applicable) chrome ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Adding a new connection should immediately make its models visible in /api/models It is visible in /api/models/base, but not visible in /api/models (can see in admin, cannot see to select model to chat) ### Actual Behavior Models are not visible in /api/models ### Steps to Reproduce This is my 3rd connection, my 2nd connection did not have this problem. Add a 3rd openai-compatible connection, and observe that the models are not visible in /api/models, but they are however visible in /api/models/base. Originally, I added the connection without the prefix, to make it easier to see that the models are missing, I have added a prefix to the connection "spark" Repro steps for me: * add 3rd openai connection * set a prefix `spark` * curl base_url/api/models | jq | grep spark # see no results * curl base_url/api/models/base | jq | grep spark # see results * curl base_url/api/models | jq | grep spark # see no results restarting openwebui does not make the models visible ### Logs & Screenshots ``` pfnguyen@atheneum:~$ curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.MYADMINTOKEN-" http://localhost:3000/api/models | jq | grep spark. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 104k 100 104k 0 0 2592k 0 --:--:-- --:--:-- --:--:-- 2614k pfnguyen@atheneum:~$ curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.MYADMINTOKEN-" http://localhost:3000/api/models /base | jq | grep spark. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 37568 100 37568 0 0 1669k 0 --:--:-- --:--:-- --:--:-- 1747k "id": "spark./models/Qwen3.5-35B-A3B-NVFP4", "name": "spark./models/Qwen3.5-35B-A3B-NVFP4", "id": "spark./models/Qwen3.5-35B-A3B-NVFP4", pfnguyen@atheneum:~$ curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.MYADMINTOKEN-" http://localhost:3000/api/models | jq | grep spark. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 104k 100 104k 0 0 2270k 0 --:--:-- --:--:-- --:--:-- 2273k pfnguyen@atheneum:~$ curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.MYADMINTOKEN-"" http://localhost:3000/api/models/base | jq | grep spark. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 37568 100 37568 0 0 4520k 0 --:--:-- --:--:-- --:--:-- 4585k "id": "spark./models/Qwen3.5-35B-A3B-NVFP4", "name": "spark./models/Qwen3.5-35B-A3B-NVFP4", "id": "spark./models/Qwen3.5-35B-A3B-NVFP4", ``` ### Additional Information I have only added this third connection tonight, so am unsure if this is a pre-existing problem, or a new regression, etc.
GiteaMirror added the bug label 2026-05-05 23:23:02 -05:00
Author
Owner

@pfn commented on GitHub (Mar 26, 2026):

I have an interesting follow up: manually granting and ungranting permission (if it is otherwise permitted for a user) makes it become visible

<!-- gh-comment-id:4131821798 --> @pfn commented on GitHub (Mar 26, 2026): I have an interesting follow up: manually granting and ungranting permission (if it is otherwise permitted for a user) makes it become visible
Author
Owner

@tjbck commented on GitHub (Mar 26, 2026):

Should be addressed in dev.

<!-- gh-comment-id:4139022671 --> @tjbck commented on GitHub (Mar 26, 2026): Should be addressed in dev.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58542