Skip to content

Commit

Permalink
Merge pull request arc53#967 from starkgate/empty-response-after-stre…
Browse files Browse the repository at this point in the history
…aming

Fix empty response in the conversation
  • Loading branch information
dartpain authored May 28, 2024
2 parents 41cb765 + df4fe01 commit 967b195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/conversation/conversationSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 967b195

Please sign in to comment.