enh: folders

This commit is contained in:
Timothy Jaeryang Baek committed 2025-07-19 14:29:08 +04:00
1 parent 3251f8b14d
commit 37c2fb0aa8
11 files changed
+361 -50

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ async def get_folders(user=Depends(get_verified_user)):
**folder.model_dump(),
"items": {
"chats": [
{"title": chat.title, "id": chat.id}
{"title": chat.title, "id": chat.id, "updated_at": chat.updated_at}
for chat in Chats.get_chats_by_folder_id_and_user_id(
folder.id, user.id
)