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: reduce mistral direct tests b/c of rate limit errors

Krrish Dholakia4d7433b5ada2
diff --git a/tests/llm_translation/test_mistral_api.py b/tests/llm_translation/test_mistral_api.py
index 04a92434208..8cf704fbe89 100644
--- a/tests/llm_translation/test_mistral_api.py
+++ b/tests/llm_translation/test_mistral_api.py
@@ -37,18 +37,3 @@ class TestMistralCompletion(BaseLLMChatTest):
def test_tool_call_no_arguments(self, tool_call_no_arguments):
"""Test that tool calls with no arguments is translated correctly. Relevant issue: https://github.com/BerriAI/litellm/issues/6833"""
pass
-
-
-def test_empty_str_in_assistant_content():
- """Test that empty string in assistant content is converted to None."""
- litellm._turn_on_debug()
- response = litellm.completion(
- model="mistral/mistral-medium-latest",
- messages=[
- {"role": "user", "content": "Hello, how are you?"},
- {"role": "assistant", "content": ""},
- {"role": "user", "content": "Hi again"},
- ],
- max_tokens=10,
- )
- assert response.choices[0].message.content is not None