Fix empty response in the conversation

This commit is contained in:
starkgate
2024-05-28 10:40:55 +02:00
committed by GitHub
parent f6c66f6ee4
commit df4fe0176c

View File

@@ -148,7 +148,7 @@ export const conversationSlice = createSlice({
action: PayloadAction<{ index: number; query: Partial<Query> }>,
) {
const { index, query } = action.payload;
if (query.response) {
if (query.response != undefined) {
state.queries[index].response =
(state.queries[index].response || '') + query.response;
} else {