litellm/tests/litellm/llms/vertex_ai
Christopher Baer 589c6cdad0
fix(gemini-embeddings): convert task_type to camelCase taskType for Gemini API (#24191)
The Gemini REST API documents the embedding task type parameter as
camelCase `taskType`. The existing transformation functions convert
`dimensions` to `outputDimensionality` but miss the parallel
`task_type` to `taskType` conversion. This adds that conversion to
both `transform_openai_input_gemini_content` (batchEmbedContents path)
and `transform_openai_input_gemini_embed_content` (embedContent path).

Fixes #24190
2026-03-20 22:32:22 +05:30
..
agent_engine [Feat] New Provider - VertexAI Agent Engine (#18014) 2025-12-15 19:14:49 -08:00
gemini fix(gemini): support snake_case for google_search tool parameters (#18451) 2026-01-08 23:25:36 +05:30
text_to_speech [Feat] New model/provider - Adds support for Google Cloud Chirp3 HD on /speech (#17391) 2025-12-02 15:36:23 -08:00
test_gemini_batch_embeddings.py fix(gemini-embeddings): convert task_type to camelCase taskType for Gemini API (#24191) 2026-03-20 22:32:22 +05:30