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: fix test

Krrish Dholakiacda6691a7f9c
diff --git a/tests/llm_translation/test_bedrock_completion.py b/tests/llm_translation/test_bedrock_completion.py
index a89b1c943da..8a5e6818fc3 100644
--- a/tests/llm_translation/test_bedrock_completion.py
+++ b/tests/llm_translation/test_bedrock_completion.py
@@ -1983,3 +1983,11 @@ class TestBedrockConverseChat(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):
+ """
+ Bedrock 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