From ae42352060840e9e8721c10e35f3cd837b7b3920 Mon Sep 17 00:00:00 2001 From: Alexander Alderman Webb Date: Mon, 23 Feb 2026 13:38:37 +0100 Subject: [PATCH] ref(langchain): Remove set_data_normalized for primitive attributes --- sentry_sdk/integrations/langchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry_sdk/integrations/langchain.py b/sentry_sdk/integrations/langchain.py index 7a5e863e4d..75b5aee1c7 100644 --- a/sentry_sdk/integrations/langchain.py +++ b/sentry_sdk/integrations/langchain.py @@ -389,7 +389,7 @@ def on_llm_start( for key, attribute in DATA_FIELDS.items(): if key in all_params and all_params[key] is not None: - set_data_normalized(span, attribute, all_params[key], unpack=False) + span.set_data(attribute, all_params[key]) _set_tools_on_span(span, all_params.get("tools"))