diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index 5c97070..39df1dc 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -233,7 +233,7 @@ async function onRegenerate(index: number) { error: false, loading: true, conversationOptions: null, - requestOptions: { prompt: message, ...options }, + requestOptions: { prompt: message, options: { ...options } }, }, ) @@ -264,7 +264,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 } }, }, ) @@ -308,7 +308,7 @@ async function onRegenerate(index: number) { error: true, loading: false, conversationOptions: null, - requestOptions: { prompt: message, ...options }, + requestOptions: { prompt: message, options: { ...options } }, }, ) }