[GH-ISSUE #8859] Auto title and tags generation again not working v0.5.4 #69895

Closed
opened 2026-05-13 02:10:41 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Robertde34 on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8859

Installation Method

I installed it using docker

Environment

WEBUI: v0.5.4 (latest)
OLLAMA Version: 0.5.7
Chrome Version 132.0.6834

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.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

I expect the title and the tags of a new chat to be automatically generated after the first answer from the AI is available and if they are enabled in settings (Title Auto-Generation ON, Chat Tags Auto-Generation ON)

Actual Behavior:

NO Title Auto-Generation - only New Chat, NO Tags

Description

Bug Summary:
Auto title and tags generation not working v0.5.7. This was also a Bug in v0.5.1 issue #8106

Docker Container Logs:
INFO: 172.17.100.148:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
ERROR [open_webui.routers.tasks] Exception occurred
Traceback (most recent call last):
File "/app/backend/open_webui/routers/ollama.py", line 117, in send_post_request r.raise_for_status()
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1157, in raise_for_status raise ClientResponseError(aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url='http://127.0.0.1:11434/api/chat'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/backend/open_webui/routers/tasks.py", line 187, in generate_title
return await generate_chat_completion(request, form_data=payload, user=user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/utils/chat.py", line 142, in generate_chat_completion
response = await generate_ollama_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/routers/ollama.py", line 1014, in generate_chat_completion
return await send_post_request(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/open_webui/routers/ollama.py", line 149, in send_post_request
raise HTTPException(
fastapi.exceptions.HTTPException: 500: Ollama: 500, message='Internal Server Error', url='http://127.0.0.1:11434/api/chat'
ERROR [open_webui.routers.tasks] Error generating chat completion: 500: Ollama: 500, message='Internal Server Error', url='http://127.0.0.1:11434/api/chat'

Originally created by @Robertde34 on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8859 ## Installation Method I installed it using docker ## Environment WEBUI: v0.5.4 (latest) OLLAMA Version: 0.5.7 Chrome Version 132.0.6834 **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. - [ ] 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: I expect the title and the tags of a new chat to be automatically generated after the first answer from the AI is available and if they are enabled in settings (Title Auto-Generation ON, Chat Tags Auto-Generation ON) ## Actual Behavior: NO Title Auto-Generation - only New Chat, NO Tags ## Description **Bug Summary:** Auto title and tags generation not working v0.5.7. This was also a Bug in v0.5.1 issue #8106 **Docker Container Logs:** INFO: 172.17.100.148:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK ERROR [open_webui.routers.tasks] Exception occurred Traceback (most recent call last): File "/app/backend/open_webui/routers/ollama.py", line 117, in send_post_request r.raise_for_status() File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1157, in raise_for_status raise ClientResponseError(aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url='http://127.0.0.1:11434/api/chat' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/backend/open_webui/routers/tasks.py", line 187, in generate_title return await generate_chat_completion(request, form_data=payload, user=user) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/utils/chat.py", line 142, in generate_chat_completion response = await generate_ollama_chat_completion( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/routers/ollama.py", line 1014, in generate_chat_completion return await send_post_request( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/routers/ollama.py", line 149, in send_post_request raise HTTPException( fastapi.exceptions.HTTPException: 500: Ollama: 500, message='Internal Server Error', url='http://127.0.0.1:11434/api/chat' ERROR [open_webui.routers.tasks] Error generating chat completion: 500: Ollama: 500, message='Internal Server Error', url='http://127.0.0.1:11434/api/chat'
Author
Owner

@silentoplayz commented on GitHub (Jan 24, 2025):

Please consider updating to the latest version of Open WebUI and letting us know if such issue still occurs then.

<!-- gh-comment-id:2612732520 --> @silentoplayz commented on GitHub (Jan 24, 2025): Please consider updating to the latest version of Open WebUI and letting us know if such issue still occurs then.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69895