mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[GH-ISSUE #7889] Adding models via admin/settings is broken #14921
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 @dimakovalenko-united-ctm on GitHub (Dec 16, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7889
Bug Report
Adding new models via Admin portal is currently broken.
Steps:
/admin/settings+in model selectPrevious behavior in much older version: A text field would open up with model to be inputed
Workaround: Search for new model name in New Chat dialog
Installation Method
[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]
Environment
Open WebUI Version: v0.4.7, v0.4.8
docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollamaOperating System: Ubuntu
Browser (if applicable): All
Confirmation:
Expected Behavior:
[Describe what you expected to happen.]
Actual Behavior:
[Describe what actually happened.]
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
Logs and Screenshots
Browser Console Logs:
user-count {count: 1}
+layout.svelte:82 usage {models: Array(0)}
Chat.svelte:337 mounted
RichTextInput.svelte:129
RichTextInput.svelte:160 [tiptap warn]: Duplicate extension names found: ['codeBlock']. This can lead to issues.
resolve @ index.js:1158
un @ index.js:1144
createExtensionManager @ index.js:4470
_g @ index.js:4302
(anonymous) @ RichTextInput.svelte:160
await in (anonymous)
J @ utils.js:41
(anonymous) @ Component.js:47
_t @ scheduler.js:99
Promise.then
ut @ scheduler.js:20
ht @ Component.js:81
(anonymous) @ Component.js:139
(anonymous) @ +layout.svelte:203
await in (anonymous)
J @ utils.js:41
(anonymous) @ Component.js:47
_t @ scheduler.js:99
Promise.then
ut @ scheduler.js:20
ht @ Component.js:81
(anonymous) @ Component.js:139
(anonymous) @ +layout.svelte:189
await in (anonymous)
J @ utils.js:41
(anonymous) @ Component.js:47
_t @ scheduler.js:99
jt @ Component.js:164
ht @ root.svelte:23
tt @ client.js:449
W @ client.js:1425
await in W
et @ client.js:382
en @ client.js:1751
sn @ client.js:310
(anonymous) @ (index):102
Promise.then
(anonymous) @ (index):101Understand this warningAI
MessageInput.svelte:257 destroy
Docker Container Logs:
INFO: 204.111.113.79:0 - "GET /api/webhook HTTP/1.1" 200 OK
INFO: 204.111.113.79:0 - "GET /api/v1/auths/admin/config HTTP/1.1" 200 OK
INFO: 204.111.113.79:0 - "GET /api/v1/auths/admin/config/ldap/server HTTP/1.1" 200 OK
INFO: 204.111.113.79:0 - "GET /api/v1/auths/admin/config/ldap HTTP/1.1" 200 OK
INFO: 204.111.113.79:0 - "GET /api/v1/configs/models HTTP/1.1" 200 OK
INFO: 204.111.113.79:0 - "GET /api/v1/models/base HTTP/1.1" 200 OK
INFO [open_webui.apps.openai.main] get_all_models()
INFO [open_webui.apps.ollama.main] get_all_models()
[GIN] 2024/12/16 - 16:23:55 | 200 | 363.913µs | 127.0.0.1 | GET "/api/tags"
INFO: 204.111.113.79:0 - "GET /api/models/base HTTP/1.1" 200 OK
Screenshots/Screen Recordings (if applicable):

Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@tjbck commented on GitHub (Dec 16, 2024):
Please read the change logs, you can add models from Ollama connection area.