From df4fe0176c946ca7eb89c0544caa316e289c7ac1 Mon Sep 17 00:00:00 2001 From: starkgate Date: Tue, 28 May 2024 10:40:55 +0200 Subject: [PATCH] Fix empty response in the conversation --- frontend/src/conversation/conversationSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/conversation/conversationSlice.ts b/frontend/src/conversation/conversationSlice.ts index 72cf660b..9a3ef16d 100644 --- a/frontend/src/conversation/conversationSlice.ts +++ b/frontend/src/conversation/conversationSlice.ts @@ -148,7 +148,7 @@ export const conversationSlice = createSlice({ action: PayloadAction<{ index: number; query: Partial }>, ) { const { index, query } = action.payload; - if (query.response) { + if (query.response != undefined) { state.queries[index].response = (state.queries[index].response || '') + query.response; } else {