Skip to content

Commit 63a9c71

Browse files
.
1 parent f93c208 commit 63a9c71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integrations/openai/test_openai.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2828,6 +2828,8 @@ async def test_streaming_responses_api_async(
28282828
(span,) = transaction["spans"]
28292829
assert span["op"] == "gen_ai.responses"
28302830

2831+
assert span["data"][SPANDATA.GEN_AI_RESPONSE_MODEL] == "response-model-id"
2832+
28312833
if send_default_pii and include_prompts:
28322834
assert span["data"][SPANDATA.GEN_AI_REQUEST_MESSAGES] == '["hello"]'
28332835
assert span["data"][SPANDATA.GEN_AI_RESPONSE_TEXT] == "hello world"

0 commit comments

Comments
 (0)