fix: poe添加proxy支持

This commit is contained in:
ikechan8370 2023-05-14 12:47:20 +08:00
parent 63f8629037
commit 1a94d92943
3 changed files with 43 additions and 33 deletions

View file

@ -1760,7 +1760,8 @@ export class chatgpt extends plugin {
throw new Error('未绑定Poe Cookie请使用#chatgpt设置Poe token命令绑定cookie')
}
let client = new PoeClient({
quora_cookie: cookie
quora_cookie: cookie,
proxy: Config.proxy
})
await client.setCredentials()
await client.getChatId()