|
@@ -115,7 +115,9 @@ async function onConversation() {
|
|
|
var data = await fetchChatAPIProcess<Chat.ChatResponse>(
|
|
|
{
|
|
|
prompt: message,
|
|
|
- signal: controller.signal
|
|
|
+ signal: controller.signal,
|
|
|
+ MessageId:options.conversationId,
|
|
|
+ ConversationID:options.parentMessageId
|
|
|
}
|
|
|
)
|
|
|
|
|
@@ -128,7 +130,7 @@ async function onConversation() {
|
|
|
inversion: false,
|
|
|
error: false,
|
|
|
loading: false,
|
|
|
- conversationOptions: { conversationId: "data.conversationId", parentMessageId: "data.id" },
|
|
|
+ conversationOptions: { conversationId: data.data.conversation_id, parentMessageId: data.data.message_id },
|
|
|
requestOptions: { prompt: message, options: { ...options } },
|
|
|
},
|
|
|
)
|