@@ -3817,6 +3817,7 @@ def test_anthropic_message_truncation(sentry_init, capture_events):
38173817 integrations = [AnthropicIntegration (include_prompts = True )],
38183818 traces_sample_rate = 1.0 ,
38193819 send_default_pii = True ,
3820+ stream_gen_ai_spans = False ,
38203821 )
38213822 events = capture_events ()
38223823
@@ -3869,6 +3870,7 @@ async def test_anthropic_message_truncation_async(sentry_init, capture_events):
38693870 integrations = [AnthropicIntegration (include_prompts = True )],
38703871 traces_sample_rate = 1.0 ,
38713872 send_default_pii = True ,
3873+ stream_gen_ai_spans = False ,
38723874 )
38733875 events = capture_events ()
38743876
@@ -5337,6 +5339,7 @@ def test_message_with_base64_image(sentry_init, capture_events):
53375339 integrations = [AnthropicIntegration (include_prompts = True )],
53385340 traces_sample_rate = 1.0 ,
53395341 send_default_pii = True ,
5342+ stream_gen_ai_spans = False ,
53405343 )
53415344 events = capture_events ()
53425345 client = Anthropic (api_key = "z" )
@@ -5531,6 +5534,7 @@ def test_message_with_base64_pdf(sentry_init, capture_events):
55315534 integrations = [AnthropicIntegration (include_prompts = True )],
55325535 traces_sample_rate = 1.0 ,
55335536 send_default_pii = True ,
5537+ stream_gen_ai_spans = False ,
55345538 )
55355539 events = capture_events ()
55365540 client = Anthropic (api_key = "z" )
@@ -5719,6 +5723,7 @@ def test_message_with_mixed_content(sentry_init, capture_events):
57195723 integrations = [AnthropicIntegration (include_prompts = True )],
57205724 traces_sample_rate = 1.0 ,
57215725 send_default_pii = True ,
5726+ stream_gen_ai_spans = False ,
57225727 )
57235728 events = capture_events ()
57245729 client = Anthropic (api_key = "z" )
@@ -5802,6 +5807,7 @@ def test_message_with_multiple_images_different_formats(sentry_init, capture_eve
58025807 integrations = [AnthropicIntegration (include_prompts = True )],
58035808 traces_sample_rate = 1.0 ,
58045809 send_default_pii = True ,
5810+ stream_gen_ai_spans = False ,
58055811 )
58065812 events = capture_events ()
58075813 client = Anthropic (api_key = "z" )
0 commit comments