feat: ref chat

This commit is contained in:
Timothy Jaeryang Baek
2025-09-14 10:26:46 +02:00
parent c923461882
commit aa8ab349ed
5 changed files with 39 additions and 9 deletions
+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