Skip to content

Commit ab0c32e

Browse files
authored
Fixed OpenAI tests (#2834)
This will prevent the streaming reponse OpenAI tests to fail.
1 parent 16d25e2 commit ab0c32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/openai/test_openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_streaming_chat_completion(
9999
events = capture_events()
100100

101101
client = OpenAI(api_key="z")
102-
returned_stream = Stream(cast_to=None, response=None, client=None)
102+
returned_stream = Stream(cast_to=None, response=None, client=client)
103103
returned_stream._iterator = [
104104
ChatCompletionChunk(
105105
id="1",

0 commit comments

Comments
 (0)