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 @Pietro395 on GitHub (Aug 15, 2024).
# Bug Report
## Installation Method
docker compose
## Environment
- **Open WebUI Version:** 0.3.13
- **Ollama (if applicable):** 0.3.6
- **Operating System:** Ubuntu 22.04
- **Browser (if applicable):** Firefox 129
**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.
- [ x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
The chat title is auto generated
## Actual Behavior:
Chat title is not auto generated
## Description
**Bug Summary:**
Chat title is not auto generated even if the option is enabled.
I use Ollama served by Nginx as a reverse proxy
## Reproduction Details
**Steps to Reproduce:**
Enable the generation option and select the model
## Logs and Screenshots
**Browser Console Logs:**
```
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:44.58063623Z","message":{"role":"assistant","content":"Bitcoin"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:44.864985914Z","message":{"role":"assistant","content":" è"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:45.146558852Z","message":{"role":"assistant","content":" una"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:45.428472553Z","message":{"role":"assistant","content":" cripto"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:45.709731648Z","message":{"role":"assistant","content":"valu"},"done":false} [Chat.svelte:862:15](https://openwebui.xxx.in/src/lib/components/chat/Chat.svelte)
usage
Object { models: (1) […] }
[+layout.svelte:149:13](https://openwebui.xxxx.in/src/routes/+layout.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:46.000441471Z","message":{"role":"assistant","content":"ta"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:46.283071459Z","message":{"role":"assistant","content":" decentral"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:46.565281483Z","message":{"role":"assistant","content":"izzata"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:46.849264603Z","message":{"role":"assistant","content":" che"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
usage
Object { models: (1) […] }
[+layout.svelte:149:13](https://openwebui.xxxx.in/src/routes/+layout.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:47.133458245Z","message":{"role":"assistant","content":" offre"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:47.414852422Z","message":{"role":"assistant","content":" un"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:47.69753293Z","message":{"role":"assistant","content":" sistema"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
usage
Object { models: (1) […] }
[+layout.svelte:149:13](https://openwebui.xxxx.in/src/routes/+layout.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:47.981076046Z","message":{"role":"assistant","content":" di"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:48.264446761Z","message":{"role":"assistant","content":" pag"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:48.547047829Z","message":{"role":"assistant","content":"amenti"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:48.829782978Z","message":{"role":"assistant","content":" digitale"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
usage
Object { models: (1) […] }
[+layout.svelte:149:13](https://openwebui.xxxx.in/src/routes/+layout.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:49.114118861Z","message":{"role":"assistant","content":" sicuro"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:49.397537856Z","message":{"role":"assistant","content":" ed"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:49.682038902Z","message":{"role":"assistant","content":" effic"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
usage
Object { models: (1) […] }
[+layout.svelte:149:13](https://openwebui.xxxx.in/src/routes/+layout.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:49.975855313Z","message":{"role":"assistant","content":"iente"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:50.261278367Z","message":{"role":"assistant","content":"."},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:50.542742104Z","message":{"role":"assistant","content":" "},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:50.824684526Z","message":{"role":"assistant","content":"\n"},"done":false} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
usage
Object { models: (1) […] }
[+layout.svelte:149:13](https://openwebui.pietroxxxxin/src/routes/+layout.svelte)
{"model":"gemma-2-2b-it-abliterated-Q5_K_M:latest","created_at":"2024-08-15T10:50:51.10804644Z","message":{"role":"assistant","content":""},"done_reason":"stop","done":true,"total_duration":14326146203,"load_duration":2363299694,"prompt_eval_count":27,"prompt_eval_duration":5387370000,"eval_count":24,"eval_duration":6527290000} [Chat.svelte:862:15](https://openwebui.xxxx.in/src/lib/components/chat/Chat.svelte)
XHRPOST
https://openwebui.xxxx.in/api/task/title/completions
[HTTP/1.1 404 Not Found 33ms]
Object { detail: "Ollama: 404, message='Not Found', url='https://ollama.xxxx.in/v1/chat/completions'" }
[index.ts:234:11](https://openwebui.xxxx.in/src/lib/apis/index.ts)
```
**Docker Container Logs:**
```
open-webui | INFO: 172.19.0.1:52278 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:52288 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:50456 - "POST /api/v1/chats/new HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:50460 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
open-webui | INFO [apps.ollama.main] url: https://xxxxx.xxxxxx.in
open-webui | INFO: 172.19.0.1:50464 - "POST /ollama/api/chat HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:32784 - "POST /api/chat/completed HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:32792 - "POST /api/v1/chats/f09c8f0c-ede7-42af-8445-e85b8ab286f8 HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:32804 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:32806 - "POST /api/v1/chats/f09c8f0c-ede7-42af-8445-e85b8ab286f8 HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:32818 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
open-webui | INFO [apps.ollama.main] url: https://xxxx.xxxx.in
open-webui | generate_title
open-webui | gemma2:2b
open-webui | generate_ollama_chat_completion
open-webui | INFO: 172.19.0.1:32830 - "POST /api/task/title/completions HTTP/1.1" 404 Not Found
open-webui | INFO: 172.19.0.1:32844 - "POST /api/v1/chats/f09c8f0c-ede7-42af-8445-e85b8ab286f8 HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:32850 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
open-webui | INFO: 172.19.0.1:32852 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
```
**Screenshots/Screen Recordings (if applicable):**
[Attach any relevant screenshots to help illustrate the issue]
## Additional Information
Nginx reverse proxy configuration
```
location /api {
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Origin '';
proxy_set_header Referer '';
proxy_pass http://localhost:11434/api;
}
location /api/v1 {
proxy_pass http://localhost:11434/api/v1;
}
```
## 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!
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 @Pietro395 on GitHub (Aug 15, 2024).
Bug Report
Installation Method
docker compose
Environment
Open WebUI Version: 0.3.13
Ollama (if applicable): 0.3.6
Operating System: Ubuntu 22.04
Browser (if applicable): Firefox 129
Confirmation:
Expected Behavior:
The chat title is auto generated
Actual Behavior:
Chat title is not auto generated
Description
Bug Summary:
Chat title is not auto generated even if the option is enabled.
I use Ollama served by Nginx as a reverse proxy
Reproduction Details
Steps to Reproduce:
Enable the generation option and select the model
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
Nginx reverse proxy configuration
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!