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
test(bedrock): expect cohere embed base64 encoding_format to normalize to float
mateo-berri886d39c3a226
diff --git a/tests/test_litellm/llms/bedrock/embed/test_bedrock_embedding.py b/tests/test_litellm/llms/bedrock/embed/test_bedrock_embedding.pyindex 114e473be98..9dff24b3977 100644--- a/tests/test_litellm/llms/bedrock/embed/test_bedrock_embedding.py+++ b/tests/test_litellm/llms/bedrock/embed/test_bedrock_embedding.py@@ -945,7 +945,7 @@ def test_titan_image_embedding_cost_uses_per_image_rate():"encoding_format,expected_embedding_types",[("float", ["float"]),- ("base64", ["base64"]),+ ("base64", ["float"]),(["float", "int8"], ["float", "int8"]),],)