From 82761a65390097fc352b6c062e0ecee29756f6f9 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 10 Apr 2023 16:15:12 +0200 Subject: [PATCH] bugfix in renaming discussions --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):