|
|
@ -233,7 +233,7 @@ async function onRegenerate(index: number) {
|
|
|
|
error: false,
|
|
|
|
error: false,
|
|
|
|
loading: true,
|
|
|
|
loading: true,
|
|
|
|
conversationOptions: null,
|
|
|
|
conversationOptions: null,
|
|
|
|
requestOptions: { prompt: message, ...options },
|
|
|
|
requestOptions: { prompt: message, options: { ...options } },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -264,7 +264,7 @@ async function onRegenerate(index: number) {
|
|
|
|
error: false,
|
|
|
|
error: false,
|
|
|
|
loading: true,
|
|
|
|
loading: true,
|
|
|
|
conversationOptions: { conversationId: data.conversationId, parentMessageId: data.id },
|
|
|
|
conversationOptions: { conversationId: data.conversationId, parentMessageId: data.id },
|
|
|
|
requestOptions: { prompt: message, ...options },
|
|
|
|
requestOptions: { prompt: message, options: { ...options } },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -308,7 +308,7 @@ async function onRegenerate(index: number) {
|
|
|
|
error: true,
|
|
|
|
error: true,
|
|
|
|
loading: false,
|
|
|
|
loading: false,
|
|
|
|
conversationOptions: null,
|
|
|
|
conversationOptions: null,
|
|
|
|
requestOptions: { prompt: message, ...options },
|
|
|
|
requestOptions: { prompt: message, options: { ...options } },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|