Fix empty response in the conversation

pull/967/head
starkgate 1 month ago committed by GitHub
parent f6c66f6ee4
commit df4fe0176c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 {

Loading…
Cancel
Save