mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 01:22:00 -05:00
[GH-ISSUE #8859] Auto title and tags generation again not working v0.5.4 #69895
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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'
@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.