Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async version of the client with corresponding providers support #179

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kapulkin
Copy link

I would like to offer async client support for the library (solution for #61)

Please, review the changes.

Async support is implemented only for few provides:

  • OpenAI
  • Anthropic
  • Mistral
  • Fireworks
    Async tests for supported provides are added.

If you like the approach, I can extend it to the remaining providers and update documentation for them as well.

The new code was written in a straightforward manner to minimize interference with existing code. In the future commits I would like to re-write code to reduce code duplication between sync and async versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant