diff --git a/app.py b/app.py index bb10e535..4a5aa8d1 100644 --- a/app.py +++ b/app.py @@ -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):