litellm/tests/litellm/llms
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
..
anthropic FIx: replace deprecated claude-3-7-sonnet-20250219 with claude-4-sonnet-20250514 2026-02-20 17:27:59 -08:00
bedrock feat(bedrock): support nova/ and nova-2/ spec prefixes for custom imported models (#21359) 2026-02-17 23:00:37 -08:00
deepseek feat(deepseek): add native support for thinking and reasoning_effort params (#17712) 2025-12-11 15:28:43 -08:00
gradient_ai/chat Add digitalocean provider (#12169) 2025-08-09 16:26:33 -07:00
oci/chat fix(oci): serialize imageUrl as object for OCI GenAI API 2026-01-23 15:25:40 -03:00
openai_like docs: update AssemblyAI docs with Universal-3 Pro, Speech Understanding, and LLM Gateway (#21130) 2026-02-27 17:24:48 -08:00
vertex_ai fix(gemini-embeddings): convert task_type to camelCase taskType for Gemini API (#24191) 2026-03-20 22:32:22 +05:30