feat: ref chat

This commit is contained in:
Timothy Jaeryang Baek committed 2025-09-14 10:26:46 +02:00
1 parent c923461882
commit aa8ab349ed
5 files changed
+39 -9

No files matched your search

+1 -1
View File
@@ -236,7 +236,7 @@ class ChatTable:
return chat.chat.get("title", "New Chat")
def get_messages_by_chat_id(self, id: str) -> Optional[dict]:
def get_messages_map_by_chat_id(self, id: str) -> Optional[dict]:
chat = self.get_chat_by_id(id)
if chat is None:
return None