test(vertex): use valid dimension (128) for multimodalembedding live test

dimensions=1 was silently dropped before #24415 wired the param through
to Vertex. Now that it's forwarded, Vertex rejects it (valid values:
128, 256, 512, 1408). Switch the test to a valid dimension.
This commit is contained in:
Chesars 2026-04-25 16:09:59 -03:00
parent c8ceafe941
commit 40eeffe089

View file

@ -2094,7 +2094,7 @@ def test_vertexai_multimodalembedding_embedding_latest():
response = embedding(
model="vertex_ai/multimodalembedding@001",
input=["hi"],
dimensions=1,
dimensions=128,
auto_truncate=True,
task_type="RETRIEVAL_QUERY",
)