fix: titles are not generated if title auto-generation is set to false in interface settings
This commit is contained in:
1 parent
f18f1db704
commit
15cc9b6cee
1 file changed
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user