Closed glide-the closed 1 year ago
Have your tried tunnel
? I think you may have to modify the completionWithRetry method to use a customAxios using tunnel
proxy.
I commented out this section of code and now it's working.
Have your tried
tunnel
? I think you may have to modify the completionWithRetry method to use a customAxios usingtunnel
proxy.
I did modify the module directly
project in the
im edit this code
··· const clientConfig = new Configuration({ ...this.clientConfig, // baseOptions: { adapter: fetchAdapter }, }); const tunnelProxy = tunnel.httpsOverHttp({ proxy: { host: '127.0.0.1', port: 7890 }, }); // use custom axios instance const customAxios = axios.create({ proxy: false, httpsAgent: tunnelProxy, });
···
Commented on this line
scripts/ingest-data.ts by with http proxy run but utils/makechain.ts is error Because this conversation uses langchain/llms module ,in the module request code
at if (request.stream && !this.streamingClient) the line ,stream server error
I haven't found the proxy configuration for the fetchAdapter adapter from many places. Can I replace it with another adapter? im not open vpn .