node-chatgpt-api
node-chatgpt-api copied to clipboard
Undici do not support proxy by socks5
I have tried to config proxy to socks5://xxxxxx,and got "InvalidArgumentError: invalid protocol" error . I think undici dont support socks proxy, is there any way to solve this problem?
It seems like you can modify the client to work with socks5 using this: https://github.com/Kaciras/fetch-socks
you are awesome!thats really useful!and I use SocksProxyAgent instead of HttpsProxyAgent so that I can use socks5 in bing mode now! maybe u can add them to this repository later, thank u!
Yup, I'll look into it, thanks for reporting!