mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 05:39:12 +00:00
Await on conversation save when generate conversation title via API
This commit is contained in:
@@ -556,7 +556,7 @@ async def generate_chat_title(
|
||||
|
||||
conversation.slug = new_title
|
||||
|
||||
conversation.asave()
|
||||
await conversation.asave()
|
||||
|
||||
return {"status": "ok", "title": new_title}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user