mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Await on conversation save when generate conversation title via API
This commit is contained in:
parent
e1d0015248
commit
5078ac0ce2
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ async def generate_chat_title(
|
|||
|
||||
conversation.slug = new_title
|
||||
|
||||
conversation.asave()
|
||||
await conversation.asave()
|
||||
|
||||
return {"status": "ok", "title": new_title}
|
||||
|
||||
|
|
Loading…
Reference in a new issue