File tree Expand file tree Collapse file tree
tests/integrations/litellm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2920,7 +2920,6 @@ def test_binary_content_encoding_uri_type(
29202920 )
29212921 assert len (chat_spans ) == 1
29222922 span = chat_spans [0 ]
2923-
29242923 messages_data = json .loads (span ["attributes" ][SPANDATA .GEN_AI_REQUEST_MESSAGES ])
29252924 else :
29262925 events = capture_events ()
@@ -2948,7 +2947,6 @@ def test_binary_content_encoding_uri_type(
29482947
29492948 assert len (chat_spans ) == 1
29502949 span = chat_spans [0 ]
2951-
29522950 messages_data = json .loads (span ["data" ][SPANDATA .GEN_AI_REQUEST_MESSAGES ])
29532951
29542952 uri_item = next (
@@ -3036,10 +3034,8 @@ async def test_async_binary_content_encoding_uri_type(
30363034 if x ["attributes" ]["sentry.op" ] == OP .GEN_AI_CHAT
30373035 and x ["attributes" ]["sentry.origin" ] == "auto.ai.litellm"
30383036 )
3039-
30403037 assert len (chat_spans ) == 1
30413038 span = chat_spans [0 ]
3042-
30433039 messages_data = json .loads (span ["attributes" ][SPANDATA .GEN_AI_REQUEST_MESSAGES ])
30443040 else :
30453041 events = capture_events ()
@@ -3065,10 +3061,8 @@ async def test_async_binary_content_encoding_uri_type(
30653061 for x in event ["spans" ]
30663062 if x ["op" ] == OP .GEN_AI_CHAT and x ["origin" ] == "auto.ai.litellm"
30673063 )
3068-
30693064 assert len (chat_spans ) == 1
30703065 span = chat_spans [0 ]
3071-
30723066 messages_data = json .loads (span ["data" ][SPANDATA .GEN_AI_REQUEST_MESSAGES ])
30733067
30743068 uri_item = next (
You can’t perform that action at this time.
0 commit comments