mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-06-27 18:58:50 +08:00
@@ -43,6 +43,8 @@ export async function generateAnswersWithClaudeWebApi(
|
||||
await bot
|
||||
.startConversation(question, params)
|
||||
.then((conversation) => {
|
||||
conversation.request = null
|
||||
conversation.claude = null
|
||||
session.claude_conversation = conversation
|
||||
port.postMessage({ answer: answer, done: true, session: session })
|
||||
cleanController()
|
||||
|
||||
@@ -602,6 +602,8 @@ export async function generateAnswersWithMoonshotWebApi(
|
||||
await bot
|
||||
.startConversation(question, params)
|
||||
.then((conversation) => {
|
||||
conversation.request = null
|
||||
conversation.moonshot = null
|
||||
session.moonshot_conversation = conversation
|
||||
port.postMessage({ answer: answer, done: true, session: session })
|
||||
cleanController()
|
||||
|
||||
Reference in New Issue
Block a user