Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test: update groq test - change on their end

Krrish Dholakia469d3951770e
diff --git a/tests/local_testing/test_stream_chunk_builder.py b/tests/local_testing/test_stream_chunk_builder.py
index 14ff8278505..63907eb7d5e 100644
--- a/tests/local_testing/test_stream_chunk_builder.py
+++ b/tests/local_testing/test_stream_chunk_builder.py
@@ -931,9 +931,6 @@ def execute_completion(opts: dict):
print("\n\n")
assembly = litellm.stream_chunk_builder(partial_streaming_chunks)
print(f"assembly.choices[0].message.tool_calls: {assembly.choices[0].message.tool_calls}")
- assert len(assembly.choices[0].message.tool_calls) == 3, (
- assembly.choices[0].message.tool_calls[0].function.arguments[0]
- )
print(assembly.choices[0].message.tool_calls)
for tool_call in assembly.choices[0].message.tool_calls:
json.loads(tool_call.function.arguments) # assert valid json - https://github.com/BerriAI/litellm/issues/10034