bugfix in renaming discussions

This commit is contained in:
Saifeddine ALOUI 2023-04-10 16:15:12 +02:00
parent 3277b81850
commit 82761a6539

2
app.py
View File

@ -276,7 +276,7 @@ GPT4All:Welcome! I'm here to assist you with anything you need. What can I do fo
data = request.get_json()
discussion_id = data["id"]
title = data["title"]
self.current_discussion.rename(discussion_id, title)
self.current_discussion.rename(title)
return "renamed successfully"
def restore_discussion(self, full_message):