Await on conversation save when generate conversation title via API

This commit is contained in:
Debanjum 2024-11-11 19:16:12 -08:00
parent e1d0015248
commit 5078ac0ce2

View file

@ -556,7 +556,7 @@ async def generate_chat_title(
conversation.slug = new_title
conversation.asave()
await conversation.asave()
return {"status": "ok", "title": new_title}