File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2819,7 +2819,7 @@ def test_to_litellm_role():
28192819 "content" : "this is a test" ,
28202820 }
28212821 }
2822- ]
2822+ ],
28232823 ),
28242824 [TextChunk (text = "this is a test" )],
28252825 UsageMetadataChunk (
@@ -2877,7 +2877,9 @@ def test_to_litellm_role():
28772877 (None , "stop" ),
28782878 ),
28792879 (
2880- ModelResponse (choices = [{"finish_reason" : "tool_calls" }]),
2880+ ModelResponse (
2881+ choices = [{"finish_reason" : "tool_calls" }],
2882+ ),
28812883 [None ],
28822884 UsageMetadataChunk (
28832885 prompt_tokens = 0 , completion_tokens = 0 , total_tokens = 0
@@ -2962,7 +2964,8 @@ def test_to_litellm_role():
29622964 finish_reason = None ,
29632965 delta = Delta (role = "assistant" , content = "Hello" ),
29642966 )
2965- ]
2967+ ],
2968+ usage = None ,
29662969 ),
29672970 [TextChunk (text = "Hello" )],
29682971 None ,
@@ -2977,7 +2980,8 @@ def test_to_litellm_role():
29772980 role = "assistant" , reasoning_content = "thinking..."
29782981 ),
29792982 )
2980- ]
2983+ ],
2984+ usage = None ,
29812985 ),
29822986 [
29832987 ReasoningChunk (
You can’t perform that action at this time.
0 commit comments