This commit is contained in:
Timothy Jaeryang Baek
2026-07-27 04:50:07 -04:00
parent 70c04eb675
commit 58dc25125b
4 changed files with 298 additions and 71 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ from typing import Optional
import bcrypt
from open_webui.internal.db import Base, JSONField, get_async_db_context
from open_webui.models.users import UserModel, UserProfileImageResponse, Users
from open_webui.models.users import User, UserModel, UserProfileImageResponse, Users
from open_webui.utils.validate import validate_profile_image_url
from pydantic import BaseModel, field_validator
from sqlalchemy import Boolean, Column, String, Text, delete, select, update
+1 -1
View File
@@ -3526,7 +3526,7 @@ async def outlet_filter_handler(ctx):
outlet_result = outlet_data
if outlet_result and outlet_result.get('messages'):
if not is_temp_chat and messages_map:
if not is_unsaved_chat and messages_map:
for message in outlet_result['messages']:
outlet_message_id = message.get('id')
if outlet_message_id and outlet_message_id in messages_map: