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_multilingual_requests deepseek

Ishaan Jaff1ef4d54dbb33
diff --git a/tests/llm_translation/test_deepseek_completion.py b/tests/llm_translation/test_deepseek_completion.py
index 17b0a340b1e..4a94d97aed8 100644
--- a/tests/llm_translation/test_deepseek_completion.py
+++ b/tests/llm_translation/test_deepseek_completion.py
@@ -11,3 +11,11 @@ class TestDeepSeekChatCompletion(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_multilingual_requests(self):
+ """
+ DeepSeek API raises a 400 BadRequest error when the request contains invalid utf-8 sequences.
+
+ Todo: if litellm.modify_params is True ensure it's a valid utf-8 sequence
+ """
+ pass