Skip to content

Allow injecting reqwest client #2

Description

@ernesto-jimenez

Hey @LevitatingBusinessMan, thanks for the crate!

Would you be up for allowing injecting a reqwest client into the client?

It would allow setting up consumers to set-up middleware.

I was thinking maybe: openai_rust::Client::new_with_client(key, reqwest_client)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions