mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-06-16 21:03:54 +08:00
Merge pull request #67 from stonega/main
This commit is contained in:
@@ -15,6 +15,8 @@ export function getOpenAICommonOptions(): ClientOptions {
|
||||
options.httpAgent = new HttpsProxyAgent(process.env.PROXY_URL);
|
||||
} else if (process.env.HTTPS_PROXY) {
|
||||
options.httpAgent = new HttpsProxyAgent(process.env.HTTPS_PROXY);
|
||||
} else if (process.env.https_proxy) {
|
||||
options.httpAgent = new HttpsProxyAgent(process.env.https_proxy);
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user