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(test_function_calling.py): remove redundant gemini test (causing ratelimit errors)

Krrish Dholakia5a31005b85d0
diff --git a/litellm/tests/test_function_calling.py b/litellm/tests/test_function_calling.py
index 0895dfb1a88..28a57c29458 100644
--- a/litellm/tests/test_function_calling.py
+++ b/litellm/tests/test_function_calling.py
@@ -339,27 +339,3 @@ def test_groq_parallel_function_call():
print("second response\n", second_response)
except Exception as e:
pytest.fail(f"Error occurred: {e}")
-
-
[email protected]("model", ["gemini/gemini-1.5-pro"])
-def test_simple_function_call_function_param(model):
- try:
- litellm.set_verbose = True
- messages = [{"role": "user", "content": "What is the weather like in Boston?"}]
- response = completion(
- model=model,
- messages=messages,
- tools=[
- {
- "type": "function",
- "function": {
- "name": "plot",
- "description": "Generate plots",
- },
- }
- ],
- tool_choice="auto",
- )
- print(f"response: {response}")
- except Exception as e:
- raise e