Merge pull request #967 from starkgate/empty-response-after-streaming

Fix empty response in the conversation
This commit is contained in:
Alex
2024-05-28 23:06:46 +01:00
committed by GitHub

View File

@@ -151,7 +151,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 {