diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index e6e7a51eae..880ec99820 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -236,7 +236,7 @@ async function onRegenerate(index: number) { error: false, loading: true, conversationOptions: null, - requestOptions: { prompt: message, ...options }, + requestOptions: { prompt: message, options: { ...options } }, }, ) @@ -270,7 +270,7 @@ async function onRegenerate(index: number) { error: false, loading: true, conversationOptions: { conversationId: data.conversationId, parentMessageId: data.id }, - requestOptions: { prompt: message, ...options }, + requestOptions: { prompt: message, options: { ...options } }, }, ) @@ -314,7 +314,7 @@ async function onRegenerate(index: number) { error: true, loading: false, conversationOptions: null, - requestOptions: { prompt: message, ...options }, + requestOptions: { prompt: message, options: { ...options } }, }, ) }