[GH-ISSUE #18125] issue: Unable to delete a workspace model created with a very long title (made before v0.6.34 fix) #18501

Closed
opened 2026-04-20 00:43:52 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @silentoplayz on GitHub (Oct 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18125

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.33

Ollama Version (if applicable)

v0.12.3

Operating System

Ubuntu 24.04.3 LTS

Browser (if applicable)

Mozilla Firefox Snap for Ubuntu v143.0.3 (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 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

I expect for the ability to Hide, Show, Edit, or Delete a custom workspace model to work, even if the model has an unnecessarily long name (and ID from the name given to it).

Actual Behavior

I am not able to Hide, Show, Edit, or Delete a custom workspace model successfully due to the length of the model's name/ID triggering errors.

Steps to Reproduce

Example (include every detail):

  1. Start with a clean Ubuntu 24.04.3 LTS install.
  2. Install Docker v28.4.0 and start the service.
  3. Clone the Open WebUI repo (git clone ...).
  4. Use the Docker Compose file without modifications.
  5. Open browser. I use Mozilla Firefox Snap for Ubuntu v143.0.3 (64-bit) here, but you can use Firefox/Chrome on your device/machine.
  6. Visit the URL for your Open WebUI instance and log in to an account that has access to the Workspace -> Models section.
  7. Create a new model in the Models section of the Workspace.
  8. Choose any model as the base model and give the model a LONG name so that it also gives the model a long ID automatically.
  9. Save the custom workspace model.
  10. Observe that the custom workspace model was created and saved successfully, but now you have problems with hiding/showing the model, toggling it, editing it, or even deleting the model.

Logs & Screenshots

Upon trying to Hide or Show a custom workspace model, the following errors are thrown in the browser console:

XHRPOST
http://localhost:1337/api/v1/models/model/update?id={A-VERY-LONG-MODEL-ID-WAS-HERE-BUT-I-REMOVED-IT-FOR-TRUNCATION-AND-VISIBILITY-OF-THE-ERROR-LOG}
Status
401
Unauthorized
VersionHTTP/1.1
Transferred317 B (57 B size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityHighest
DNS ResolutionSystem

Uncaught (in promise) 
Object { detail: "We could not find what you're looking for :/" }
33.BAslR9Am.js:5:2084

Upon trying to toggle a custom workspace model, the following errors are thrown in the browser console:

XHRPOST
http://localhost:1337/api/v1/models/model/toggle?id={A-VERY-LONG-MODEL-ID-WAS-HERE-BUT-I-REMOVED-IT-FOR-TRUNCATION-AND-VISIBILITY-OF-THE-ERROR-LOG}
Status
401
Unauthorized
VersionHTTP/1.1
Transferred317 B (57 B size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityHighest
DNS ResolutionSystem

Uncaught (in promise) 
Object { detail: "We could not find what you're looking for :/" }
BJntCU3o.js:1:1955
    w index.ts:186
    InterpretGeneratorResume self-hosted:1332
    AsyncFunctionNext self-hosted:800
    (Async: async)
    we Models.svelte:544
    i Models.svelte:495
    Qe lifecycle.js:105
    forEach self-hosted:157
    Qe lifecycle.js:104
    h Switch.svelte:33
    InterpretGeneratorResume self-hosted:1332
    AsyncFunctionNext self-hosted:800
    (Async: async)
    onCheckedChange switch.svelte:28
    n overridable.js:9
    s index.js:69
    n overridable.js:5
    l create.js:21
    destroy create.js:38
    s event.js:23
    ye event.js:51

Upon trying to edit a custom workspace model, the following errors are thrown in the browser console:

HTTP Referrer header: Length is over 4096 bytes limit - stripping referrer header down to origin: http://localhost:1337/” model
XHRGET
http://localhost:1337/api/v1/models/model?id={A-VERY-LONG-MODEL-ID-WAS-HERE-BUT-I-REMOVED-IT-FOR-TRUNCATION-AND-VISIBILITY-OF-THE-ERROR-LOG}
Status
401
Unauthorized
VersionHTTP/1.1
Transferred211 B (57 B size)
Referrer Policystrict-origin-when-cross-origin
DNS ResolutionSystem

Upon trying to delete a custom workspace model, the following errors are thrown in the browser console:

XHRDELETE
http://localhost:1337/api/v1/models/model/delete?id={A-VERY-LONG-MODEL-ID-WAS-HERE-BUT-I-REMOVED-IT-FOR-TRUNCATION-AND-VISIBILITY-OF-THE-ERROR-LOG}
Status
401
Unauthorized
VersionHTTP/1.1
Transferred317 B (57 B size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityHighest
DNS ResolutionSystem

    	
    access-control-allow-credentials
    	true
    access-control-allow-origin
    	http://localhost:1337
    content-length
    	57
    content-type
    	application/json
    date
    	Tue, 07 Oct 2025 23:45:53 GMT
    server
    	uvicorn
    vary
    	Origin
    x-process-time
    	0
    	
    Accept
    	application/json
    Accept-Encoding
    	gzip, deflate, br, zstd
    Accept-Language
    	en-US,en;q=0.5
    authorization
    	Bearer **REDACTED**
    Connection
    	keep-alive
    Content-Type
    	application/json
    Cookie
    	token=**REDACTED**
    DNT
    	1
    Host
    	localhost:1337
    Origin
    	http://localhost:1337
    Priority
    	u=0
    Referer
    	http://localhost:1337/workspace/models
    Sec-Fetch-Dest
    	empty
    Sec-Fetch-Mode
    	cors
    Sec-Fetch-Site
    	same-origin
    Sec-GPC
    	1
    User-Agent
    	Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0

I am displayed the following notification toast when I attempt to delete a custom workspace model that was created with a really long model name/ID:
Image

Additional Information

Attached below this line is the problematic custom workspace model export as a JSON file from Open WebUI (for debugging purposes):
name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-.json

Small conversation about this issue between another contributor and I:
Image

Originally created by @silentoplayz on GitHub (Oct 8, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/18125 ### 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 am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.33 ### Ollama Version (if applicable) v0.12.3 ### Operating System Ubuntu 24.04.3 LTS ### Browser (if applicable) Mozilla Firefox Snap for Ubuntu v143.0.3 (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 **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 I expect for the ability to `Hide`, `Show`, `Edit`, or `Delete` a custom workspace model to work, even if the model has an unnecessarily long name (and ID from the name given to it). ### Actual Behavior I am not able to `Hide`, `Show`, `Edit`, or `Delete` a custom workspace model successfully due to the length of the model's name/ID triggering errors. ### Steps to Reproduce Example (include every detail): 1. Start with a clean Ubuntu 24.04.3 LTS install. 2. Install Docker v28.4.0 and start the service. 3. Clone the Open WebUI repo (git clone ...). 4. Use the Docker Compose file without modifications. 5. Open browser. I use `Mozilla Firefox Snap for Ubuntu v143.0.3 (64-bit) ` here, but you can use Firefox/Chrome on your device/machine. 6. Visit the URL for your Open WebUI instance and log in to an account that has access to the `Workspace` -> `Models` section. 7. Create a new model in the `Models` section of the `Workspace`. 8. Choose any model as the base model and give the model a **LONG** name so that it also gives the model a long ID automatically. 9. Save the custom workspace model. 10. Observe that the custom workspace model was created and saved successfully, but now you have problems with hiding/showing the model, toggling it, editing it, or even deleting the model. ### Logs & Screenshots Upon trying to `Hide` or `Show` a custom workspace model, the following errors are thrown in the browser console: ```js XHRPOST http://localhost:1337/api/v1/models/model/update?id={A-VERY-LONG-MODEL-ID-WAS-HERE-BUT-I-REMOVED-IT-FOR-TRUNCATION-AND-VISIBILITY-OF-THE-ERROR-LOG} Status 401 Unauthorized VersionHTTP/1.1 Transferred317 B (57 B size) Referrer Policystrict-origin-when-cross-origin Request PriorityHighest DNS ResolutionSystem Uncaught (in promise) Object { detail: "We could not find what you're looking for :/" } 33.BAslR9Am.js:5:2084 ``` Upon trying to **toggle a custom workspace model**, the following errors are thrown in the browser console: ```js XHRPOST http://localhost:1337/api/v1/models/model/toggle?id={A-VERY-LONG-MODEL-ID-WAS-HERE-BUT-I-REMOVED-IT-FOR-TRUNCATION-AND-VISIBILITY-OF-THE-ERROR-LOG} Status 401 Unauthorized VersionHTTP/1.1 Transferred317 B (57 B size) Referrer Policystrict-origin-when-cross-origin Request PriorityHighest DNS ResolutionSystem Uncaught (in promise) Object { detail: "We could not find what you're looking for :/" } BJntCU3o.js:1:1955 w index.ts:186 InterpretGeneratorResume self-hosted:1332 AsyncFunctionNext self-hosted:800 (Async: async) we Models.svelte:544 i Models.svelte:495 Qe lifecycle.js:105 forEach self-hosted:157 Qe lifecycle.js:104 h Switch.svelte:33 InterpretGeneratorResume self-hosted:1332 AsyncFunctionNext self-hosted:800 (Async: async) onCheckedChange switch.svelte:28 n overridable.js:9 s index.js:69 n overridable.js:5 l create.js:21 destroy create.js:38 s event.js:23 ye event.js:51 ``` Upon trying to **edit a custom workspace model**, the following errors are thrown in the browser console: ```js HTTP Referrer header: Length is over “4096” bytes limit - stripping referrer header down to origin: “http://localhost:1337/” model XHRGET http://localhost:1337/api/v1/models/model?id={A-VERY-LONG-MODEL-ID-WAS-HERE-BUT-I-REMOVED-IT-FOR-TRUNCATION-AND-VISIBILITY-OF-THE-ERROR-LOG} Status 401 Unauthorized VersionHTTP/1.1 Transferred211 B (57 B size) Referrer Policystrict-origin-when-cross-origin DNS ResolutionSystem ``` Upon trying to **delete a custom workspace model**, the following errors are thrown in the browser console: ```js XHRDELETE http://localhost:1337/api/v1/models/model/delete?id={A-VERY-LONG-MODEL-ID-WAS-HERE-BUT-I-REMOVED-IT-FOR-TRUNCATION-AND-VISIBILITY-OF-THE-ERROR-LOG} Status 401 Unauthorized VersionHTTP/1.1 Transferred317 B (57 B size) Referrer Policystrict-origin-when-cross-origin Request PriorityHighest DNS ResolutionSystem access-control-allow-credentials true access-control-allow-origin http://localhost:1337 content-length 57 content-type application/json date Tue, 07 Oct 2025 23:45:53 GMT server uvicorn vary Origin x-process-time 0 Accept application/json Accept-Encoding gzip, deflate, br, zstd Accept-Language en-US,en;q=0.5 authorization Bearer **REDACTED** Connection keep-alive Content-Type application/json Cookie token=**REDACTED** DNT 1 Host localhost:1337 Origin http://localhost:1337 Priority u=0 Referer http://localhost:1337/workspace/models Sec-Fetch-Dest empty Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Sec-GPC 1 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0 ``` I am displayed the following notification toast when I attempt to delete a custom workspace model that was created with a really long model name/ID: <img width="410" height="115" alt="Image" src="https://github.com/user-attachments/assets/622d5ff4-8622-4c36-bbdb-6f67c84f8eda" /> ### Additional Information Attached below this line is the problematic custom workspace model export as a JSON file from Open WebUI (for debugging purposes): [name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-.json](https://github.com/user-attachments/files/22756353/name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-name-your-knowledge-base-.json) Small conversation about this issue between another contributor and I: <img width="1766" height="610" alt="Image" src="https://github.com/user-attachments/assets/f08489fa-d5fe-463b-80e6-6662265a5e7b" />
GiteaMirror added the bug label 2026-04-20 00:43:52 -05:00
Author
Owner

@Geelhem commented on GitHub (Oct 8, 2025):

Similar behaviour for me

<!-- gh-comment-id:3383136135 --> @Geelhem commented on GitHub (Oct 8, 2025): Similar behaviour for me
Author
Owner

@tjbck commented on GitHub (Oct 8, 2025):

@Geelhem how long is your model id?

<!-- gh-comment-id:3383170310 --> @tjbck commented on GitHub (Oct 8, 2025): @Geelhem how long is your model id?
Author
Owner

@silentoplayz commented on GitHub (Oct 10, 2025):

I'm not sure if we want to close this issue out yet, so I'll just use this opportunity to link a related fix commit merged on the dev branch for reference - 5043e7fc8c.

I will note that the linked commit only fixes the issue of being able to create models with a very long model name and model ID. Though, still, I am unable to edit, hide/show, delete, or toggle the custom workspace model with an excessively long name/ID.

<!-- gh-comment-id:3388526439 --> @silentoplayz commented on GitHub (Oct 10, 2025): I'm not sure if we want to close this issue out yet, so I'll just use this opportunity to link a related fix commit merged on the `dev` branch for reference - https://github.com/open-webui/open-webui/pull/18138/commits/5043e7fc8c826af077d1dcff3711cd568349eb22. **I will note that the linked commit only fixes the issue of being able to create models with a very long model name and model ID. Though, still, I am unable to edit, hide/show, delete, or toggle the custom workspace model with an excessively long name/ID.**
Author
Owner

@Geelhem commented on GitHub (Oct 10, 2025):

My issue was that the button to edit the models had disappeared for all models and when I was clicking on the model, I was not able to edit any model, and the screen would remain blank on the workspace tab. I have reverted to the 3.30 open Web UI version and this has solved the issue for me.

<!-- gh-comment-id:3392324815 --> @Geelhem commented on GitHub (Oct 10, 2025): My issue was that the button to edit the models had disappeared for all models and when I was clicking on the model, I was not able to edit any model, and the screen would remain blank on the workspace tab. I have reverted to the 3.30 open Web UI version and this has solved the issue for me.
Author
Owner

@silentoplayz commented on GitHub (Oct 10, 2025):

My issue was that the button to edit the models had disappeared for all models

@Geelhem Within the workspace Models section, the edit pencil icons are indeed gone, but clicking on the model should open up to the model's edit page. If this isn't happening for you on the latest version of Open WebUI and you believe there is a bug, try to reproduce it, check the browser console logs for any errors, and feel free to open up a fresh issue post of your own!

<!-- gh-comment-id:3392590795 --> @silentoplayz commented on GitHub (Oct 10, 2025): > My issue was that the button to edit the models had disappeared for all models @Geelhem Within the workspace `Models` section, the edit pencil icons are indeed gone, but clicking on the model should open up to the model's edit page. If this isn't happening for you on the latest version of Open WebUI and you believe there is a bug, try to reproduce it, check the browser console logs for any errors, and feel free to open up a fresh issue post of your own!
Author
Owner

@Geelhem commented on GitHub (Oct 12, 2025):

Clicking on the model opened the model’s chat, and there were no alternatives to edit the model

On 11 Oct 2025, at 00:37, G30 @.***> wrote:

silentoplayz
left a comment
(open-webui/open-webui#18125)
https://github.com/open-webui/open-webui/issues/18125#issuecomment-3392590795
My issue was that the button to edit the models had disappeared for all models

@Geelhem https://github.com/Geelhem Within the workspace Models section, the edit pencil icons are indeed gone, but clicking on the model should open up to the model's edit page. If this isn't happening for you on the latest version of Open WebUI and you believe there is a bug, try to reproduce it, check the browser console logs for any errors, and feel free to open up a fresh issue post of your own!


Reply to this email directly, view it on GitHub https://github.com/open-webui/open-webui/issues/18125#issuecomment-3392590795, or unsubscribe https://github.com/notifications/unsubscribe-auth/APA3GZ2I227FKA252ALXXOD3XA7NJAVCNFSM6AAAAACISFBUVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGOJSGU4TANZZGU.
You are receiving this because you were mentioned.

<!-- gh-comment-id:3395267810 --> @Geelhem commented on GitHub (Oct 12, 2025): Clicking on the model opened the model’s chat, and there were no alternatives to edit the model > On 11 Oct 2025, at 00:37, G30 ***@***.***> wrote: > > > silentoplayz > left a comment > (open-webui/open-webui#18125) > <https://github.com/open-webui/open-webui/issues/18125#issuecomment-3392590795> > My issue was that the button to edit the models had disappeared for all models > > @Geelhem <https://github.com/Geelhem> Within the workspace Models section, the edit pencil icons are indeed gone, but clicking on the model should open up to the model's edit page. If this isn't happening for you on the latest version of Open WebUI and you believe there is a bug, try to reproduce it, check the browser console logs for any errors, and feel free to open up a fresh issue post of your own! > > — > Reply to this email directly, view it on GitHub <https://github.com/open-webui/open-webui/issues/18125#issuecomment-3392590795>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APA3GZ2I227FKA252ALXXOD3XA7NJAVCNFSM6AAAAACISFBUVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGOJSGU4TANZZGU>. > You are receiving this because you were mentioned. >
Author
Owner

@silentoplayz commented on GitHub (Oct 12, 2025):

and when I was clicking on the model, I was not able to edit any model, and the screen would remain blank on the workspace tab. I have reverted to the 3.30 open Web UI version and this has solved the issue for me.

@Geelhem The way this is worded makes either of these issues seem like they may be related - https://github.com/open-webui/open-webui/issues/18127 & https://github.com/open-webui/open-webui/discussions/18135

<!-- gh-comment-id:3395321561 --> @silentoplayz commented on GitHub (Oct 12, 2025): > and when I was clicking on the model, I was not able to edit any model, and the screen would remain blank on the workspace tab. I have reverted to the 3.30 open Web UI version and this has solved the issue for me. @Geelhem The way this is worded makes either of these issues seem like they may be related - https://github.com/open-webui/open-webui/issues/18127 & https://github.com/open-webui/open-webui/discussions/18135
Author
Owner

@Geelhem commented on GitHub (Oct 13, 2025):

yes correct this is it. will try to delete the tool

On 12 Oct 2025, at 21:24, G30 @.***> wrote:

silentoplayz
left a comment
(open-webui/open-webui#18125)
https://github.com/open-webui/open-webui/issues/18125#issuecomment-3395321561
and when I was clicking on the model, I was not able to edit any model, and the screen would remain blank on the workspace tab. I have reverted to the 3.30 open Web UI version and this has solved the issue for me.

@Geelhem https://github.com/Geelhem The way this is worded makes this issue seems most likely related - #18127 https://github.com/open-webui/open-webui/issues/18127

Reply to this email directly, view it on GitHub https://github.com/open-webui/open-webui/issues/18125#issuecomment-3395321561, or unsubscribe https://github.com/notifications/unsubscribe-auth/APA3GZ6VGA2P6WLQAHEZZEL3XK2JFAVCNFSM6AAAAACISFBUVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGOJVGMZDCNJWGE.
You are receiving this because you were mentioned.

<!-- gh-comment-id:3398414924 --> @Geelhem commented on GitHub (Oct 13, 2025): yes correct this is it. will try to delete the tool > On 12 Oct 2025, at 21:24, G30 ***@***.***> wrote: > > > silentoplayz > left a comment > (open-webui/open-webui#18125) > <https://github.com/open-webui/open-webui/issues/18125#issuecomment-3395321561> > and when I was clicking on the model, I was not able to edit any model, and the screen would remain blank on the workspace tab. I have reverted to the 3.30 open Web UI version and this has solved the issue for me. > > @Geelhem <https://github.com/Geelhem> The way this is worded makes this issue seems most likely related - #18127 <https://github.com/open-webui/open-webui/issues/18127> > — > Reply to this email directly, view it on GitHub <https://github.com/open-webui/open-webui/issues/18125#issuecomment-3395321561>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APA3GZ6VGA2P6WLQAHEZZEL3XK2JFAVCNFSM6AAAAACISFBUVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGOJVGMZDCNJWGE>. > You are receiving this because you were mentioned. >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18501