mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: deconstruction null bug
This commit is contained in:
parent
3ff591d205
commit
ec45eb1173
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ export class chatgpt extends plugin {
|
|||
userToken: bingToken, // "_U" cookie from bing.com
|
||||
debug: Config.debug
|
||||
})
|
||||
let response = await bingAIClient.sendMessage(prompt, conversation)
|
||||
let response = await bingAIClient.sendMessage(prompt, conversation || {})
|
||||
return {
|
||||
text: response.response,
|
||||
conversationId: response.conversationId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue