From ba6367beea4dba8a4779056077ac40b274f53273 Mon Sep 17 00:00:00 2001 From: wea_ondara Date: Wed, 29 May 2024 18:45:44 +0200 Subject: [PATCH] fix user chat input duplicates in dashboard --- frontend/src/components/dashboard/Chat.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/components/dashboard/Chat.vue b/frontend/src/components/dashboard/Chat.vue index 9453b3b..504e5a9 100644 --- a/frontend/src/components/dashboard/Chat.vue +++ b/frontend/src/components/dashboard/Chat.vue @@ -54,7 +54,6 @@ export default class Chat extends Vue { this.message = ChatMessageVmV1.fromJson({'role': 'user', 'name': this.user, 'content': this.text}); this.text = ''; await this.apiStore.aiApi.chatText(this.aiInstance.configuration.id, this.message); - this.aiInstance.messages.push(this.message); } catch (e) { toast.error('Error while chatting: ' + JSON.stringify(e)); } finally {