mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: poe添加proxy支持
This commit is contained in:
parent
63f8629037
commit
1a94d92943
3 changed files with 43 additions and 33 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue