Commit 47ce295
authored
set openai.proxy explicitly to Requests lib to override environmental defaults (#339)
By default, the Requests library use the proxy settings from the environment variable HTTPS_PROXY.
It has higher priority than the "proxies" setting in the session, which may lead to confusing behaviors
if both environment variables and the "openai.proxy" config are set.
This patch explicitly informs the Requests library to use the "openai.proxy" config.1 parent 15c6aeb commit 47ce295
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| 524 | + | |
524 | 525 | | |
525 | 526 | | |
526 | 527 | | |
| |||
0 commit comments