Skip to content

Commit da78741

Browse files
committed
.
1 parent 01a9797 commit da78741

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/integrations/openai/test_openai.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4131,6 +4131,8 @@ def test_ai_client_span_responses_api(
41314131
"gen_ai.request.messages": safe_serialize(expected_request_messages),
41324132
"gen_ai.request.model": "gpt-4o",
41334133
"gen_ai.response.text": "the model response",
4134+
"sentry.op": "gen_ai.responses",
4135+
"sentry.origin": "auto.ai.openai",
41344136
"sentry.segment.name": "openai tx",
41354137
}
41364138

@@ -4939,6 +4941,7 @@ async def test_ai_client_span_streaming_responses_async_api(
49394941
"sentry.environment": "production",
49404942
"sentry.op": "gen_ai.responses",
49414943
"sentry.origin": "auto.ai.openai",
4944+
"sentry.segment.name": "openai tx",
49424945
}
49434946

49444947
if expected_system_instructions is not None:

0 commit comments

Comments
 (0)