From f5468861559796868b80d9379f2caea486ee9b29 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 16 Jun 2023 22:19:39 +0200 Subject: [PATCH] u^dated --- api/__init__.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/api/__init__.py b/api/__init__.py index 5ce25447..98f475d4 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -876,7 +876,16 @@ class LoLLMsAPPI(): self.socketio.emit('final', { 'data': self.bot_says, 'ai_message_id':self.current_ai_message_id, - 'parent':self.current_user_message_id, 'discussion_id':self.current_discussion.discussion_id + 'parent':self.current_user_message_id, 'discussion_id':self.current_discussion.discussion_id, + "status":'model_not_ready', + "type": "input_message_infos", + 'logo': "", + "bot": self.personality.name, + "user": self.personality.user_name, + "message":self.bot_says, + "user_message_id": self.current_user_message_id, + "ai_message_id": self.current_ai_message_id, + }, room=self.current_room_id )