Skip to content

Commit 32fdf13

Browse files
committed
chore(openai): lint
1 parent ae58c0e commit 32fdf13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/opentelemetry-instrumentation-openai/tests/traces/test_responses.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def test_responses_reasoning_dict_issue(instrument_legacy, span_exporter: InMemo
189189
model="gpt-5-nano",
190190
input="Explain why the sky is blue",
191191
reasoning={
192-
"effort": "medium",
192+
"effort": "medium",
193193
"summary": "auto"
194194
},
195195
)
@@ -201,7 +201,6 @@ def test_responses_reasoning_dict_issue(instrument_legacy, span_exporter: InMemo
201201
# Verify the reasoning attributes are properly set without causing warnings
202202
assert span.attributes["gen_ai.request.reasoning_effort"] == "medium"
203203
assert span.attributes["gen_ai.request.reasoning_summary"] == "auto"
204-
205204
# This should not cause an "Invalid type dict" warning and should contain serialized reasoning
206205
assert "gen_ai.completion.0.reasoning" in span.attributes
207206
# The reasoning should be serialized as JSON since it contains complex data

0 commit comments

Comments
 (0)