We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b676aa commit dfa70b0Copy full SHA for dfa70b0
lib/openai/internal/stream.rb
@@ -38,7 +38,7 @@ class Stream
38
else
39
"An error occurred during streaming"
40
end
41
- err = OpenAI::Errors::APIError.for(
+ err = OpenAI::Errors::APIStatusError.for(
42
url: @url,
43
status: @status,
44
body: data,
0 commit comments