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]

fix: test_completion_with_no_model

Ishaan Jafferc6afa904bbf7
diff --git a/tests/litellm_utils_tests/test_utils.py b/tests/litellm_utils_tests/test_utils.py
index 5405b7fc792..cb55971964e 100644
--- a/tests/litellm_utils_tests/test_utils.py
+++ b/tests/litellm_utils_tests/test_utils.py
@@ -2337,5 +2337,3 @@ def test_completion_with_no_model():
with pytest.raises(TypeError):
response = litellm.completion(messages=[{"role": "user", "content": "Hello, how are you?"}])
-
- assert "model is not set. Set either via 'model' or 'engine' param." in str(e)
\ No newline at end of file