We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 963b4dd commit a37f6a5Copy full SHA for a37f6a5
sentry_sdk/integrations/google_genai/utils.py
@@ -881,8 +881,8 @@ def set_span_data_for_response(
881
882
finish_reasons = extract_finish_reasons(response)
883
if finish_reasons:
884
- set_data_normalized(
885
- span, SPANDATA.GEN_AI_RESPONSE_FINISH_REASONS, finish_reasons
+ span.set_data(
+ SPANDATA.GEN_AI_RESPONSE_FINISH_REASONS, json.dumps(finish_reasons)
886
)
887
888
if getattr(response, "response_id", None):
0 commit comments