feat: optimize conversation title generation output must be a valid JSON (#1077)
This commit is contained in:
parent
a6b0f788e7
commit
4c8608dc61
2 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ def handle(sender, **kwargs):
|
|||
|
||||
conversation.name = name
|
||||
except:
|
||||
conversation.name = 'New Chat'
|
||||
conversation.name = 'New conversation'
|
||||
|
||||
db.session.add(conversation)
|
||||
db.session.commit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue