SDK-NodeJS
SDK-NodeJS copied to clipboard
enable recastai to work via proxy
Hi, would be good if recastai calls can work behind a proxy. Meaning that the http/https requests need to specify the proxy to be able to reach outside. I do see superagent and superagent-proxy kind of used, but it is not setting the proxy. also superagent-proxy is not reading the HTTP_PROXY environment variable.
You can pass an option arg to dialog or request, with a proxy field inside, did you try that ? Here is the implementation for reference : https://github.com/RecastAI/SDK-NodeJS/blob/master/src/apis/build/index.js#L16