Skip to content

Commit 4c8dd51

Browse files
ref(pydantic-ai): Remove set_data_normalized for the gen_ai.response.model attribute
1 parent 963b4dd commit 4c8dd51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/integrations/pydantic_ai/spans/ai_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _set_output_data(span: "sentry_sdk.tracing.Span", response: "Any") -> None:
207207
if not response:
208208
return
209209

210-
set_data_normalized(span, SPANDATA.GEN_AI_RESPONSE_MODEL, response.model_name)
210+
span.set_data(SPANDATA.GEN_AI_RESPONSE_MODEL, response.model_name)
211211
try:
212212
# Extract text from ModelResponse
213213
if hasattr(response, "parts"):

0 commit comments

Comments
 (0)