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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Fix: test_bedrock_no_default_message
Sameer Kankute1a5f2a566f21
diff --git a/tests/llm_translation/test_bedrock_completion.py b/tests/llm_translation/test_bedrock_completion.pyindex 9b0b69caeb3..d23033c1e46 100644--- a/tests/llm_translation/test_bedrock_completion.py+++ b/tests/llm_translation/test_bedrock_completion.py@@ -2356,9 +2356,8 @@ def test_bedrock_no_default_message():assistant_messages = [msg for msg in formatted_messages if msg["role"] == "assistant"]- assert len(assistant_messages) == 2- assert assistant_messages[0]["content"][0]["text"] == "."- assert assistant_messages[1]["content"][0]["text"] == "Valid response"+ assert len(assistant_messages) == 1+ assert assistant_messages[0]["content"][0]["text"] == "Valid response"@pytest.mark.parametrize("top_k_param", ["top_k", "topK"])