Skip to content

Commit 9b09474

Browse files
committed
fix available tools
1 parent 8b4719b commit 9b09474

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sentry_sdk/integrations/langchain.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,9 @@ def on_chat_model_start(self, serialized, messages, *, run_id, **kwargs):
304304
if model:
305305
span.set_data(SPANDATA.GEN_AI_REQUEST_MODEL, model)
306306

307-
import ipdb
308-
309-
ipdb.set_trace()
310307
for key, attribute in DATA_FIELDS.items():
311308
if key in all_params:
312-
set_data_normalized(span, attribute, all_params[key])
309+
set_data_normalized(span, attribute, all_params[key], unpack=False)
313310

314311
if should_send_default_pii() and self.include_prompts:
315312
set_data_normalized(

0 commit comments

Comments
 (0)