feat: support linux command line proxy standard (#308)

* feat: support linux command line proxy standard with env HTTPS_PROXY and ALL_PROXY

* chore: update docs for linux command linux proxy standard
This commit is contained in:
Eason
2023-03-12 19:38:59 +08:00
committed by GitHub
parent a4cfd0c380
commit bc5e835f78
11 changed files with 55 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ export interface ModelConfig {
reverseProxy?: string
timeoutMs?: number
socksProxy?: string
httpsProxy?: string
}
export type ApiModel = 'ChatGPTAPI' | 'ChatGPTUnofficialProxyAPI' | undefined