mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-30 22:35:18 +01:00
bing hotfix, latest api, uses sydney
This commit is contained in:
parent
d13315c45b
commit
7d796f2c3e
8 changed files with 59 additions and 32 deletions
|
|
@ -28,7 +28,13 @@ const currentSlice = createSlice({
|
|||
state.refreshConvoHint = state.refreshConvoHint + 1;
|
||||
},
|
||||
setConversation: (state, action) => {
|
||||
return { ...state, ...action.payload };
|
||||
// return { ...state, ...action.payload };
|
||||
|
||||
for (const key in action.payload) {
|
||||
if (Object.hasOwnProperty.call(action.payload, key)) {
|
||||
state[key] = action.payload[key];
|
||||
}
|
||||
}
|
||||
},
|
||||
setError: (state, action) => {
|
||||
state.error = action.payload;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue