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]

fix: rename test to match actual API parameter name (dimension)

Chesarsa53ef4b574f2
diff --git a/tests/test_litellm/llms/vertex_ai/multimodal_embeddings/test_vertex_ai_multimodal_embedding_transformation.py b/tests/test_litellm/llms/vertex_ai/multimodal_embeddings/test_vertex_ai_multimodal_embedding_transformation.py
index 19024104fe7..5bb49a4fb78 100644
--- a/tests/test_litellm/llms/vertex_ai/multimodal_embeddings/test_vertex_ai_multimodal_embedding_transformation.py
+++ b/tests/test_litellm/llms/vertex_ai/multimodal_embeddings/test_vertex_ai_multimodal_embedding_transformation.py
@@ -136,8 +136,8 @@ class TestVertexMultimodalEmbedding:
result = self.config.process_openai_embedding_input(input_data)
assert result == expected_output, f"Expected {expected_output}, but got {result}"
- def test_dimensions_parameter_forwarded_as_output_dimensionality(self):
- """Test that the dimensions parameter is forwarded as outputDimensionality
+ def test_dimensions_parameter_forwarded_as_dimension(self):
+ """Test that the dimensions parameter is forwarded as dimension
in the request body parameters field.
Fixes: https://github.com/BerriAI/litellm/issues/24392