openai-token icon indicating copy to clipboard operation
openai-token copied to clipboard

Can you provide a usage agent

Open sunboye opened this issue 2 years ago • 0 comments

I am in China and cannot access OpenAI directly. Can you provide access to OpenAI through a proxy?

I set the httpsAgent for axios, but the code reported an error

The error reported is as follows:

E:\code\demo\openai-token\node_modules\axios-cookiejar-support\dist\index.js:16
        throw new Error('axios-cookiejar-support does not support for use with other http(s).Agent.');
              ^

Error: axios-cookiejar-support does not support for use with other http(s).Agent.
    at requestInterceptor (E:\code\demo\openai-token\node_modules\axios-cookiejar-support\dist\index.js:16:15)
    at async Authenticator.begin (file:///E:/code/demo/openai-token/build/index.js:38:22)
    at async file:///E:/code/demo/openai-token/test.js:4:1

sunboye avatar Mar 23 '23 06:03 sunboye