From e5926cafa0205e68ac06e4227003df5d7a788721 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 10 Apr 2023 17:48:32 +0200 Subject: [PATCH] bugfix: messages mixing when new discussion --- app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.py b/app.py index f189e3e0..f19ea1e6 100644 --- a/app.py +++ b/app.py @@ -342,6 +342,9 @@ GPT4All:Welcome! I'm here to assist you with anything you need. What can I do fo timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S") app.config['executor'].submit(self.prepare_a_new_chatbot) + + self.full_message ="" + # Return a success response return json.dumps({"id": self.current_discussion.discussion_id, "time": timestamp})