chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-03-07 20:14:32 -06:00
1 parent 144d8b1bb7
commit 3ceaa107ab
73 files changed
+482 -116

No files matched your search

+1 -3
View File
@@ -296,9 +296,7 @@ class ChatMessageTable:
# (prevents duplicates across pages when timestamps tie)
chat_ids = (
query.group_by(ChatMessage.chat_id)
.order_by(
func.max(ChatMessage.created_at).desc(), ChatMessage.chat_id
)
.order_by(func.max(ChatMessage.created_at).desc(), ChatMessage.chat_id)
.offset(skip)
.limit(limit)
.all()