chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-05-11 02:51:59 +09:00
1 parent 0037baeb26
commit 4856ce48be
4 files changed
+26 -15

No files matched your search

+3 -1
View File
@@ -1796,7 +1796,9 @@ async def chat_completion(
if metadata.get('chat_id') and user:
chat_id = metadata['chat_id']
if not chat_id.startswith('local:') and not chat_id.startswith('channel:'): # temporary/channel chats are not stored
if not chat_id.startswith('local:') and not chat_id.startswith(
'channel:'
): # temporary/channel chats are not stored
if is_new_chat:
# Build the full history upfront with ALL assistant placeholders
user_message = metadata.get('user_message') or {}