Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.
This repository was archived by the owner on Oct 27, 2023. It is now read-only.

Can you provide a usage agent #4

Open
@sunboye

Description

@sunboye

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions