From 8ed548769321ba026cdd86cf6d3b0aae9fc9e64d Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 31 Aug 2026 00:41:11 -0400 Subject: [PATCH] refac --- backend/open_webui/models/chats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/models/chats.py b/backend/open_webui/models/chats.py index fd13a680a8..978cb2948f 100644 --- a/backend/open_webui/models/chats.py +++ b/backend/open_webui/models/chats.py @@ -2558,7 +2558,7 @@ class ChatTable: file_ids: list[str], user_id: str, db: AsyncSession | None = None, - ) -> list[ChatFileModel | None]: + ) -> list[ChatFileModel] | None: if not file_ids: return None