This commit is contained in:
Saifeddine ALOUI 2023-06-16 22:19:39 +02:00
parent 4ea5d28dd4
commit f546886155

View File

@ -876,7 +876,16 @@ class LoLLMsAPPI():
self.socketio.emit('final', { self.socketio.emit('final', {
'data': self.bot_says, 'data': self.bot_says,
'ai_message_id':self.current_ai_message_id, '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 }, room=self.current_room_id
) )