mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
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:
parent
c8ceafe941
commit
40eeffe089
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue