Skip to content

Commit fca9838

Browse files
change responses client
1 parent a081305 commit fca9838

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/integrations/openai/test_openai.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2575,7 +2575,7 @@ async def test_ai_client_span_streaming_responses_async_api(
25752575
)
25762576

25772577
with mock.patch.object(
2578-
client.chat._client._client,
2578+
client.responses._client._client,
25792579
"send",
25802580
return_value=returned_stream,
25812581
):
@@ -2919,7 +2919,7 @@ def test_streaming_responses_api(
29192919
)
29202920

29212921
with mock.patch.object(
2922-
client.chat._client._client,
2922+
client.responses._client._client,
29232923
"send",
29242924
return_value=returned_stream,
29252925
):
@@ -2994,7 +2994,7 @@ async def test_streaming_responses_api_async(
29942994
)
29952995

29962996
with mock.patch.object(
2997-
client.chat._client._client,
2997+
client.responses._client._client,
29982998
"send",
29992999
return_value=returned_stream,
30003000
):
@@ -3311,7 +3311,7 @@ def test_streaming_responses_api_ttft(
33113311
)
33123312

33133313
with mock.patch.object(
3314-
client.chat._client._client,
3314+
client.responses._client._client,
33153315
"send",
33163316
return_value=returned_stream,
33173317
):
@@ -3361,7 +3361,7 @@ async def test_streaming_responses_api_ttft_async(
33613361
)
33623362

33633363
with mock.patch.object(
3364-
client.chat._client._client,
3364+
client.responses._client._client,
33653365
"send",
33663366
return_value=returned_stream,
33673367
):

0 commit comments

Comments
 (0)