From 10794868c130d316a0c2b7f1177c67706eee801c Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 3 Dec 2024 20:52:19 -0800 Subject: [PATCH] test_multilingual_requests --- tests/llm_translation/test_mistral_api.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/llm_translation/test_mistral_api.py b/tests/llm_translation/test_mistral_api.py index bb8cb3c6057..fa4039e01c4 100644 --- a/tests/llm_translation/test_mistral_api.py +++ b/tests/llm_translation/test_mistral_api.py @@ -36,3 +36,9 @@ 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_multilingual_requests(self): + """ + Mistral API raises a 400 BadRequest error when the request contains invalid utf-8 sequences. + """ + pass