(refactor:conv) wrap msgs separately

This commit is contained in:
ManishMadan2882
2025-03-15 16:41:56 +05:30
parent a50f3bc55b
commit d9c4331480
7 changed files with 322 additions and 338 deletions

View File

@@ -265,8 +265,7 @@ export const conversationSlice = createSlice({
return state;
}
state.status = 'failed';
state.queries[state.queries.length - 1].error =
'Something went wrong. Please check your internet connection.';
state.queries[state.queries.length - 1].error = 'Something went wrong';
});
},
});