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

add option to pass fetch lib as argument #6

@dominiksipowicz

Description

@dominiksipowicz

Is it possible to extend API configuration to pass a specific fetch library?

It might solve some issues related to the different hosting environments.

something like that:

const client = new OpenAIClient({ apiKey: '<your api key>', fetch: myFetch });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions