[GH-ISSUE #24604] issue: Error "Model '' was not found" when auto-title generation is invoked #123666

Closed
opened 2026-05-21 03:04:59 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @rotemdan on GitHub (May 12, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24604

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

v0.9.5

Ollama Version (if applicable)

No response

Operating System

Windows 11

Browser (if applicable)

Brave (latest)

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

Generates title when clicking the auto-generate button.

Actual Behavior

Errors "Model '' was not found" with any model, including if set to current model. No request to server is registered.

Steps to Reproduce

  1. Ensure title auto-generation is enabled in Admin settings, and set to Current Model
  2. Go to an old chat, and choose a new model to edit its prompt and regenerate response, and ensure the old model isn't available
  3. Attempt to rename title of current chat
  4. Click the "generate" icon (stars icon)

Open-WebUI may use the model of a previous edit of the prompt, which will cause this error.

Logs & Screenshots

Image

Additional Information

The issue started likely on v0.9.5 or v0.9.4.

Before that it worked without problems.

The issue may also be related to auto-title generation not working in general on latest version. I just reported it specifically for clicking the "generate" icon because I can get an error message directly for it.

The docker log, as far as I've seen, doesn't seem to show any error message during this error.

Originally created by @rotemdan on GitHub (May 12, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/24604 ### 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 v0.9.5 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11 ### Browser (if applicable) Brave (latest) ### 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 Generates title when clicking the auto-generate button. ### Actual Behavior Errors "Model '' was not found" with any model, including if set to current model. No request to server is registered. ### Steps to Reproduce 1. Ensure title auto-generation is enabled in Admin settings, and set to `Current Model` 2. Go to an old chat, and choose a new model to edit its prompt and regenerate response, and ensure the old model isn't available 3. Attempt to rename title of current chat 4. Click the "generate" icon (stars icon) Open-WebUI may use the model of a previous edit of the prompt, which will cause this error. ### Logs & Screenshots <img width="641" height="145" alt="Image" src="https://github.com/user-attachments/assets/4799ffd5-d845-4904-ac2b-c70c307f36fa" /> ### Additional Information The issue started likely on `v0.9.5` or `v0.9.4`. Before that it worked without problems. The issue may also be related to auto-title generation not working in general on latest version. I just reported it specifically for clicking the "generate" icon because I can get an error message directly for it. The docker log, as far as I've seen, doesn't seem to show any error message during this error.
GiteaMirror added the bug label 2026-05-21 03:04:59 -05:00
Author
Owner

@rotemdan commented on GitHub (May 13, 2026):

Clarification: the issue seems to occur when trying to regenerate the title of an old thread, not a new one, this can either be by clicking the "regenerate" button or by editing the prompt.

It doesn't seem to matter which model is chosen at the Admin settings, and which model is the currently active model for that chat.

I believe I narrowed the possible root cause of the problem:

I verified that Open-WebUI is using the incorrect model for title generation (when it's set to "current model" in Admin settings), for a thread where there are multiple edits of the main message. I've verified that despite the active model in the active edit being, say a Qwen model, it will try to use the model for an older edit (say Ministral).

This probably causes this particular error message, when I try to rename or edit the prompt of an old thread where the model that Open-WebUI selected for title generation, was used for an old edit, but now isn't available anymore.

The attempted fix at #24662 doesn't seem to addresses the root cause of the issue.

<!-- gh-comment-id:4441780019 --> @rotemdan commented on GitHub (May 13, 2026): **Clarification**: the issue seems to occur when trying to regenerate the title of an old thread, not a new one, this can either be by clicking the "regenerate" button or by editing the prompt. It doesn't seem to matter which model is chosen at the Admin settings, and which model is the currently active model for that chat. I believe I narrowed the possible root cause of the problem: I verified that Open-WebUI is using the incorrect model for title generation (when it's set to "current model" in Admin settings), for a thread where there are multiple edits of the main message. I've verified that despite the active model in the active edit being, say a Qwen model, it will try to use the model for an older edit (say Ministral). This probably causes this particular error message, when I try to rename or edit the prompt of an old thread where the model that Open-WebUI selected for title generation, was used for an old edit, but now isn't available anymore. The attempted fix at #24662 doesn't seem to addresses the root cause of the issue.
Author
Owner

@Classic298 commented on GitHub (May 13, 2026):

i also had this error now, not sure where it comes from

<!-- gh-comment-id:4442120771 --> @Classic298 commented on GitHub (May 13, 2026): i also had this error now, not sure where it comes from
Author
Owner

@tjbck commented on GitHub (May 14, 2026):

@rotemdan could you confirm with the latest dev?

<!-- gh-comment-id:4447761910 --> @tjbck commented on GitHub (May 14, 2026): @rotemdan could you confirm with the latest dev?
Author
Owner

@rotemdan commented on GitHub (May 14, 2026):

I tried running latest dev on Docker but getting:

start.sh: line 15: WEB_LOADER_ENGINE: unbound variable

And the container fails to start.

I guess I'll wait until that's fixed to test that.

I could try to maybe run the dev version outside of Docker but would probably too much effort for now.

<!-- gh-comment-id:4448217586 --> @rotemdan commented on GitHub (May 14, 2026): I tried running latest dev on Docker but getting: ``` start.sh: line 15: WEB_LOADER_ENGINE: unbound variable ``` And the container fails to start. I guess I'll wait until that's fixed to test that. I could try to maybe run the dev version outside of Docker but would probably too much effort for now.
Author
Owner

@Classic298 commented on GitHub (May 14, 2026):

fixed in dev

<!-- gh-comment-id:4449853178 --> @Classic298 commented on GitHub (May 14, 2026): fixed in dev
Author
Owner

@rotemdan commented on GitHub (May 15, 2026):

I installed latest dev version.

The issue wasn't resolved in full. The model selection dropdown still doesn't impact what model is used for title auto-generation.

Since the model selection issue wasn't resolved, I reported it in new issue #24745, and framed it directly around the particular behavior I reported here, rather than the original error message reported originally in this thread (which might have been resolved - not sure yet).

<!-- gh-comment-id:4456615824 --> @rotemdan commented on GitHub (May 15, 2026): I installed latest dev version. The issue wasn't resolved in full. The model selection dropdown still doesn't impact what model is used for title auto-generation. Since the model selection issue wasn't resolved, I reported it in new issue #24745, and framed it directly around the particular behavior I reported here, rather than the original error message reported originally in this thread (which might have been resolved - not sure yet).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#123666