Explorar o código

1.0 待添加功能 保持上下文

cauto hai 1 ano
pai
achega
312e5c3765
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/chat/index.vue

+ 2 - 1
src/views/chat/index.vue

@@ -89,7 +89,8 @@ async function onConversation() {
 
   let options: Chat.ConversationRequest = {}
   const lastContext = conversationList.value[conversationList.value.length - 1]?.conversationOptions
-
+	console.log(usingContext.value)
+	console.log(lastContext)
   if (lastContext && usingContext.value)
     options = { ...lastContext }