Skip to content

Commit 9ce59bb

Browse files
resolving openai test conflicts
1 parent 1418237 commit 9ce59bb

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
@@ -1901,7 +1901,6 @@ async def test_ai_client_span_responses_async_api(
19011901

19021902
expected_data = {
19031903
"gen_ai.operation.name": "responses",
1904-
"gen_ai.response.streaming": True,
19051904
"gen_ai.request.messages": '["How do I check if a Python object is an instance of a class?"]',
19061905
"gen_ai.request.model": "gpt-4o",
19071906
"gen_ai.response.model": "response-model-id",
@@ -2180,6 +2179,7 @@ async def test_ai_client_span_streaming_responses_async_api(
21802179
"gen_ai.usage.total_tokens": 30,
21812180
"gen_ai.request.model": "gpt-4o",
21822181
"gen_ai.response.text": "the model response",
2182+
"sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
21832183
"thread.id": mock.ANY,
21842184
"thread.name": mock.ANY,
21852185
}

0 commit comments

Comments
 (0)