File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ async function onRegenerate(index: number) {
233
233
error: false ,
234
234
loading: true ,
235
235
conversationOptions: null ,
236
- requestOptions: { prompt: message , ... options },
236
+ requestOptions: { prompt: message , options: { ... options } },
237
237
},
238
238
)
239
239
@@ -264,7 +264,7 @@ async function onRegenerate(index: number) {
264
264
error: false ,
265
265
loading: true ,
266
266
conversationOptions: { conversationId: data .conversationId , parentMessageId: data .id },
267
- requestOptions: { prompt: message , ... options },
267
+ requestOptions: { prompt: message , options: { ... options } },
268
268
},
269
269
)
270
270
@@ -308,7 +308,7 @@ async function onRegenerate(index: number) {
308
308
error: true ,
309
309
loading: false ,
310
310
conversationOptions: null ,
311
- requestOptions: { prompt: message , ... options },
311
+ requestOptions: { prompt: message , options: { ... options } },
312
312
},
313
313
)
314
314
}
You can’t perform that action at this time.
0 commit comments