Originally created by @saivarunk on GitHub (Jul 31, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
Installation Method
Git Clone
Open WebUI Version
v0.6.18
Ollama Version (if applicable)
No response
Operating System
Ubuntu/macOS
Browser (if applicable)
No response
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.
Clone Github repo, run docker compose up -d --build
Use redis for cache and websocket's
Use ollama models API / OpenAPI compatible endpoint
Logs & Screenshots
File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/main.py", line 1155, in get_models
all_models = await get_all_models(request, user=user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/utils/models.py", line 83, in get_all_models
and (request.app.state.config.ENABLE_BASE_MODELS_CACHE and not refresh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/config.py", line 246, in __getattr__
raise AttributeError(f"Config key '{key}' not found")
AttributeError: Config key 'ENABLE_BASE_MODELS_CACHE' not found
Additional Information
No response
Originally created by @saivarunk on GitHub (Jul 31, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Git Clone
### Open WebUI Version
v0.6.18
### Ollama Version (if applicable)
_No response_
### Operating System
Ubuntu/macOS
### Browser (if applicable)
_No response_
### 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
[/models](http://localhost:8080/api/models) endpoint should return list of models
### Actual Behavior
Openwebui Version: 0.6.18
ENV:
```
REDIS_URL: "redis://redis:6379/0"
WEBSOCKET_REDIS_URL: "redis://redis:6379/1"
ENABLE_WEBSOCKET_SUPPORT: "true"
WEBSOCKET_MANAGER: "redis"
GLOBAL_LOG_LEVEL: "DEBUG"
REDIS_KEY_PREFIX: "open-webui"
```
### Steps to Reproduce
- Open Web UI version: v0.6.18
- Clone Github repo, run docker compose up -d --build
- Use redis for cache and websocket's
- Use ollama models API / OpenAPI compatible endpoint
### Logs & Screenshots
<img width="1129" height="640" alt="Image" src="https://github.com/user-attachments/assets/800b65a0-fb21-405d-a86a-e6c001901d6e" />
```
File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/main.py", line 1155, in get_models
all_models = await get_all_models(request, user=user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/utils/models.py", line 83, in get_all_models
and (request.app.state.config.ENABLE_BASE_MODELS_CACHE and not refresh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/config.py", line 246, in __getattr__
raise AttributeError(f"Config key '{key}' not found")
AttributeError: Config key 'ENABLE_BASE_MODELS_CACHE' not found
```
### Additional Information
_No response_
GiteaMirror
added the bug label 2025-11-11 16:39:04 -06:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @saivarunk on GitHub (Jul 31, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.18
Ollama Version (if applicable)
No response
Operating System
Ubuntu/macOS
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
/models endpoint should return list of models
Actual Behavior
Openwebui Version: 0.6.18
ENV:
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Jul 31, 2025):
Unable to reproduce, keep us updated!