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

Fix AsyncOpenAI "RuntimeError: Event loop is closed bug" when instances of AsyncOpenAI are rapidly created & destroyed #12946

Merged

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    b49bd9e View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. only uses client context block if reuse_client=False since leaving co…

    …ntext closes client's connection pool; do not use client context in streaming methods
    philipchung committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    7b2ae34 View commit details
    Browse the repository at this point in the history
  2. only use client context manager if reuse_client=False, otherwise clie…

    …nt's connection pool will be closed; context manager not used for streaming methods
    philipchung committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    ec87d5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b2d3f08 View commit details
    Browse the repository at this point in the history
  4. vbump

    logan-markewich committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    9fa87b4 View commit details
    Browse the repository at this point in the history