diff --git a/backend/open_webui/utils/middleware.py b/backend/open_webui/utils/middleware.py index fc8cc1feb5..6a68be82e3 100644 --- a/backend/open_webui/utils/middleware.py +++ b/backend/open_webui/utils/middleware.py @@ -1545,7 +1545,6 @@ async def process_chat_response( ): # Only update titles and tags for non-temp chats if ( TASKS.TITLE_GENERATION in tasks - and tasks[TASKS.TITLE_GENERATION] ): user_message = get_last_user_message(messages) if user_message and len(user_message) > 100: