Originally created by @peperunas on GitHub (Apr 17, 2024).
Bug Report
Description
Bug Summary:
The auto title generation feature does not work. The model is selected to "Current Model". Chatting with the model does not force the chat to be renamed, it just sticks to the default "New Chat".
Environment
Operating System: Docker image, 0.1.119
Browser (if applicable): Firefox 124.0.2
Reproduction Details
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Docker
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!
Originally created by @peperunas on GitHub (Apr 17, 2024).
# Bug Report
## Description
**Bug Summary:**
The auto title generation feature does not work. The model is selected to "Current Model". Chatting with the model does not force the chat to be renamed, it just sticks to the default "New Chat".
## Environment
- **Operating System:** Docker image, 0.1.119
- **Browser (if applicable):** Firefox 124.0.2
-
## Reproduction Details
**Confirmation:**
- [X] I have read and followed all the instructions provided in the README.md.
- [X] I am on 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.
## Logs and Screenshots
**Browser Console Logs:**
```
Object { status: true, name: "Open WebUI", version: "0.1.119", default_locale: "en-US", images: false, default_models: "pino:latest", default_prompt_suggestions: (4) […], trusted_header_auth: false }
[0.36812bb1.js:1:37923](https://example.org/_app/immutable/nodes/0.36812bb1.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.24749082Z","message":{"role":"assistant","content":" assistant"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.254719282Z","message":{"role":"assistant","content":" designed"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.261964853Z","message":{"role":"assistant","content":" to"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.269212065Z","message":{"role":"assistant","content":" help"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.276459047Z","message":{"role":"assistant","content":" answer"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.283686998Z","message":{"role":"assistant","content":" questions"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.29092397Z","message":{"role":"assistant","content":","},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.298153232Z","message":{"role":"assistant","content":" provide"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.305403454Z","message":{"role":"assistant","content":" information"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.312628115Z","message":{"role":"assistant","content":","},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.319881787Z","message":{"role":"assistant","content":" and"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.327148459Z","message":{"role":"assistant","content":" assist"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.334435351Z","message":{"role":"assistant","content":" with"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.341697643Z","message":{"role":"assistant","content":" a"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.348960584Z","message":{"role":"assistant","content":" wide"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.356223166Z","message":{"role":"assistant","content":" range"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.363478478Z","message":{"role":"assistant","content":" of"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.37072409Z","message":{"role":"assistant","content":" tasks"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.377999782Z","message":{"role":"assistant","content":"."},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.385287373Z","message":{"role":"assistant","content":" I"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.392648186Z","message":{"role":"assistant","content":"'"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.399890928Z","message":{"role":"assistant","content":"m"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.40716606Z","message":{"role":"assistant","content":" powered"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.414546112Z","message":{"role":"assistant","content":" by"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.421794554Z","message":{"role":"assistant","content":" Open"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.429059506Z","message":{"role":"assistant","content":"AI"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.436326338Z","message":{"role":"assistant","content":"'"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.443573139Z","message":{"role":"assistant","content":"s"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.450812081Z","message":{"role":"assistant","content":" technology"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.458048573Z","message":{"role":"assistant","content":" and"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.465303164Z","message":{"role":"assistant","content":" am"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.472544856Z","message":{"role":"assistant","content":" here"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.479786008Z","message":{"role":"assistant","content":" to"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.487014399Z","message":{"role":"assistant","content":" help"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.494328052Z","message":{"role":"assistant","content":" you"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.501592543Z","message":{"role":"assistant","content":" with"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.508845105Z","message":{"role":"assistant","content":" any"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.516111467Z","message":{"role":"assistant","content":" in"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.523375919Z","message":{"role":"assistant","content":"quir"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.530639911Z","message":{"role":"assistant","content":"ies"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.537984713Z","message":{"role":"assistant","content":" or"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.545306005Z","message":{"role":"assistant","content":" issues"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.552573147Z","message":{"role":"assistant","content":" you"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.559820149Z","message":{"role":"assistant","content":" might"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.56706022Z","message":{"role":"assistant","content":" have"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.574309972Z","message":{"role":"assistant","content":"."},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.581554574Z","message":{"role":"assistant","content":" How"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.588813866Z","message":{"role":"assistant","content":" can"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.596063478Z","message":{"role":"assistant","content":" I"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.603321329Z","message":{"role":"assistant","content":" assist"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.610625871Z","message":{"role":"assistant","content":" you"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.617922993Z","message":{"role":"assistant","content":" today"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.625194595Z","message":{"role":"assistant","content":"?"},"done":false} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
{"model":"pino:latest","created_at":"2024-04-17T16:15:48.632559068Z","message":{"role":"assistant","content":""},"done":true,"total_duration":28659780080,"load_duration":28186422382,"prompt_eval_count":43,"prompt_eval_duration":36463000,"eval_count":61,"eval_duration":436111000} [3.da31ebab.js:7:40](https://example.org/_app/immutable/nodes/3.da31ebab.js)
Object { id: "pino:latest", name: "pino:latest", model: "pino:latest", modified_at: "2024-04-17T17:06:26.726227782+01:00", size: 4108928641, digest: "6717b89b3a13c04e293afe5de0dbc234adeb5feb8866f41c47d6ebbe8eb94025", details: {…}, urls: (1) […] }
[3.da31ebab.js:11:2049](https://example.org/_app/immutable/nodes/3.da31ebab.js)
Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title': Hello who are you? [index.b0387deb.js:1:3634](https://example.org/_app/immutable/chunks/index.b0387deb.js)
TypeError: Decoding failed.
```
**Docker Container Logs:**
[Include relevant Docker container logs, if applicable]
**Screenshots (if applicable):**
[Attach any relevant screenshots to help illustrate the issue]
## Installation Method
Docker
## 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!
Hey @tjbck - thanks for all the great work! I'm pretty new here :)
I also noticed that the titles aren't generated. I think it still tries to use OpenAI paths for title generation, but it should use Ollama's.
I'm not fully sure it's the same error - didn't want to create a new issue, thought they might be related.
Note: as you can see, I'm using Ollama hosted on a local network. I also removed the API key to OpenAI, and specifically set to use Ollama for title generation.
Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title': Tell me a random fun fact about the Roman Empire
...
POST http://localhost:3000/ollama/v1/chat/completions 500 (Internal Server Error)
...
index.b0387deb.js:1 {detail: 'Ollama: 404 Client Error: Not Found for url: http://192.168.1.110:11434/v1/chat/completions'}
Uncaught (in promise) Ollama: 404 Client Error: Not Found for url: http://192.168.1.110:11434/v1/chat/completions
...
{current: '0.1.119', latest: '0.1.119'}
I browsed through the code, but I didn't pinpoint the problem. I thought you might find it quicker :) or maybe I can give you a hand if I find some time.
Thanks in advance.
@Nikro commented on GitHub (Apr 19, 2024):
Hey @tjbck - thanks for all the great work! I'm pretty new here :)
I also noticed that the titles aren't generated. I think it still tries to use OpenAI paths for title generation, but it should use Ollama's.
I'm not fully sure it's the same error - didn't want to create a new issue, thought they might be related.
Note: as you can see, I'm using Ollama hosted on a local network. I also removed the API key to OpenAI, and specifically set to use Ollama for title generation.
```
Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title': Tell me a random fun fact about the Roman Empire
...
POST http://localhost:3000/ollama/v1/chat/completions 500 (Internal Server Error)
...
index.b0387deb.js:1 {detail: 'Ollama: 404 Client Error: Not Found for url: http://192.168.1.110:11434/v1/chat/completions'}
Uncaught (in promise) Ollama: 404 Client Error: Not Found for url: http://192.168.1.110:11434/v1/chat/completions
...
{current: '0.1.119', latest: '0.1.119'}
```

I browsed through the code, but I didn't pinpoint the problem. I thought you might find it quicker :) or maybe I can give you a hand if I find some time.
Thanks in advance.
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 @peperunas on GitHub (Apr 17, 2024).
Bug Report
Description
Bug Summary:
The auto title generation feature does not work. The model is selected to "Current Model". Chatting with the model does not force the chat to be renamed, it just sticks to the default "New Chat".
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Docker
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 (Apr 18, 2024):
Unable to reproduce the issue at all, backend logs would be helpful here. Keep us updated!
@Nikro commented on GitHub (Apr 19, 2024):
Hey @tjbck - thanks for all the great work! I'm pretty new here :)
I also noticed that the titles aren't generated. I think it still tries to use OpenAI paths for title generation, but it should use Ollama's.
I'm not fully sure it's the same error - didn't want to create a new issue, thought they might be related.
Note: as you can see, I'm using Ollama hosted on a local network. I also removed the API key to OpenAI, and specifically set to use Ollama for title generation.
I browsed through the code, but I didn't pinpoint the problem. I thought you might find it quicker :) or maybe I can give you a hand if I find some time.
Thanks in advance.
@tjbck commented on GitHub (Apr 19, 2024):
@Nikro Are you on the latest version of Ollama?
@Nikro commented on GitHub (Apr 19, 2024):
@tjbck - wow you're fast!
Nope - ollama/ollama:0.1.23, updating now.
UPD: indeed updating to the latest 0.1.32 solved my issue - titles are being populated!
Thank you! ^_^