Closed houzhong closed 1 year ago
Modify ***\chatgpt\chatgpt.py like this.
Hi @houzhong,
While this is not implemented in the code, you can try setting the following environment variables before using the library:
export HTTP_PROXY="http://<user>:<pass>@<proxy>:<port>"
export HTTPS_PROXY="http://<user>:<pass>@<proxy>:<port>"
Some countries like China, Hk, They need proxy access to chatgpt How to use a proxy in chatgpt-python like socks5, http proxy and so on.