Merge pull request #18761 from acomarcho/fix/chat-title-not-generated-if-title-auto-generation-is-off

fix: chat title not generated if title auto generation is off in interface settings
This commit is contained in:
Tim Baek
2025-11-01 02:46:14 -07:00
committed by GitHub

View File

@@ -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: