open-webui/backend/open_webui/models
Classic298 32cfb5788a
perf(chats): select only meta column in get_chat_tags_by_id_and_user_id (#23798)
Avoid loading the full Chat row (including the potentially large `chat`
JSON column) just to read tag IDs from `meta.tags`. Issue a narrow
SELECT on `Chat.meta` instead, which is much cheaper for chats with
large message histories.

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-17 12:35:58 +09:00
..
access_grants.py chore: format 2026-04-12 18:12:59 -05:00
auths.py chore: format 2026-04-12 18:12:59 -05:00
automations.py chore: format 2026-04-12 18:12:59 -05:00
channels.py chore: format 2026-04-12 18:12:59 -05:00
chat_messages.py chore: format 2026-04-12 18:12:59 -05:00
chats.py perf(chats): select only meta column in get_chat_tags_by_id_and_user_id (#23798) 2026-04-17 12:35:58 +09:00
feedbacks.py chore: format 2026-04-12 18:12:59 -05:00
files.py chore: format 2026-04-12 18:12:59 -05:00
folders.py fix: drop extra='allow' on FolderForm and FolderUpdateForm (#23648) 2026-04-13 16:14:00 -05:00
functions.py chore: format 2026-04-12 18:12:59 -05:00
groups.py chore: format 2026-04-12 18:12:59 -05:00
knowledge.py chore: format 2026-04-12 18:12:59 -05:00
memories.py refac: async db 2026-04-12 14:22:11 -05:00
messages.py chore: format 2026-04-12 18:12:59 -05:00
models.py refac 2026-04-12 19:34:45 -05:00
notes.py refac 2026-04-14 17:22:54 -05:00
oauth_sessions.py refac 2026-04-13 15:13:14 -05:00
prompt_history.py refac: async db 2026-04-12 14:22:11 -05:00
prompts.py refac 2026-04-12 19:34:45 -05:00
shared_chats.py refac: shared chat 2026-04-17 10:16:32 +09:00
skills.py chore: format 2026-04-12 18:12:59 -05:00
tags.py chore: format 2026-04-12 18:12:59 -05:00
tools.py chore: format 2026-04-12 18:12:59 -05:00
users.py refac 2026-04-12 18:49:34 -05:00