mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 00:14:02 +00:00
Fix empty response in the conversation
This commit is contained in:
1 parent
f6c66f6ee4
commit
df4fe0176c
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user