We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In a while ((line = await reader.ReadLineAsync()) != null) loop the response headers are read each time:
while ((line = await reader.ReadLineAsync()) != null)
OpenAI-API-dotnet/OpenAI_API/EndpointBase.cs
Lines 352 to 364 in 97fb71b
These don't change and are in a try-catch that is expensive when a throw happens.
try-catch
throw
The text was updated successfully, but these errors were encountered:
good catch, fixing now
Sorry, something went wrong.
7755f4c
No branches or pull requests
In a
while ((line = await reader.ReadLineAsync()) != null)
loop the response headers are read each time:OpenAI-API-dotnet/OpenAI_API/EndpointBase.cs
Lines 352 to 364 in 97fb71b
These don't change and are in a
try-catch
that is expensive when athrow
happens.The text was updated successfully, but these errors were encountered: