Skip to content

Commit 8a3e8bd

Browse files
committed
Add response_service_tier to test assertion
1 parent 48c26ef commit 8a3e8bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/test_chat_completions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def test_chat_completion_handles_not_given(
112112
response.model,
113113
response.usage.prompt_tokens,
114114
response.usage.completion_tokens,
115+
response_service_tier="default",
115116
)
116117

117118
assert GenAIAttributes.GEN_AI_REQUEST_TOP_P not in span.attributes

0 commit comments

Comments
 (0)