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

PythonSDK: Latency Issue #148

Closed
csgulati09 opened this issue Jun 6, 2024 · 0 comments
Closed

PythonSDK: Latency Issue #148

csgulati09 opened this issue Jun 6, 2024 · 0 comments
Assignees
Labels

Comments

@csgulati09
Copy link
Collaborator

csgulati09 commented Jun 6, 2024

The latency is supposedly caused by the reconnection of HTTP client on the with_options

A fresh new copy of the entire class is made in case of with_options

This introduces significant latency in the response.

Ref: openai/openai-python#865

@csgulati09 csgulati09 self-assigned this Jun 6, 2024
@dosubot dosubot bot added the auto:bug label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant