mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: add api3 timeout option
This commit is contained in:
parent
21485df0aa
commit
5aa90788c2
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ export class OfficialChatGPTClient {
|
|||
referer: 'https://chat.openai.com/chat',
|
||||
library: 'chatgpt-plugin'
|
||||
},
|
||||
referrer: 'https://chat.openai.com/chat'
|
||||
referrer: 'https://chat.openai.com/chat',
|
||||
timeout: 10000
|
||||
}
|
||||
logger.info('using api3 reverse proxy: ' + url)
|
||||
let requestLib = url.startsWith('https') ? https : http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue