litellm/tests/test_litellm/llms
Mateo Wang b60d4677cd
fix(vertex_gemma): strip context_management from request body (#28438)
Vertex AI Gemma's chatCompletions wrapper does not understand the
context_management parameter (an Anthropic / OpenAI Responses API
concept). When callers route this field to a Gemma deployment (e.g.
through allowed_openai_params or proxy passthrough), the upstream
endpoint would reject the request with an unknown-field error.

Drop context_management in VertexGemmaConfig.transform_request,
matching the existing pattern used for stream and stream_options.

Adds a direct transform_request unit test plus an acompletion-level
test that exercises the realistic allowed_openai_params path.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
2026-05-21 23:10:33 +05:30
..
amazon_nova/chat
anthropic Litellm oss staging 1 (#28337) 2026-05-20 17:27:03 -07:00
azure Ishaan - May 13th Staging LiteLLM (#27877) 2026-05-13 16:37:15 -07:00
azure_ai refactor: remove unnecessary comments from #27074 2026-05-04 19:34:56 +00:00
base_llm fix(proxy): normalize managed resource team owner field 2026-05-04 17:05:50 -07:00
baseten/chat
bedrock Litellm oss staging 04 21 2026 2 (#26569) 2026-05-20 21:25:19 -07:00
bedrock_mantle
black_forest_labs
bytez/chat
chat
chatgpt Litellm oss staging 04 21 2026 2 (#26569) 2026-05-20 21:25:19 -07:00
cloudflare
cohere
cometapi/chat
compactifai
crusoe fix(crusoe): remove trailing slashes from API base URLs and fix list indentation 2026-05-01 17:27:52 +05:30
custom_httpx Litellm agent oss staging 05 11 2026 (#27733) 2026-05-13 14:09:12 -07:00
dashscope Litellm oss staging (#28161) 2026-05-18 16:27:44 -07:00
databricks
datarobot
deepgram
deepinfra
deepseek fix(deepseek): use native /anthropic/v1/messages endpoint and sanitize tools (#28200) 2026-05-18 18:14:13 -07:00
docker_model_runner
elevenlabs
featherless_ai/chat
fireworks_ai Litellm oss staging 04 21 2026 2 (#26569) 2026-05-20 21:25:19 -07:00
gemini
github_copilot fix black and github mock test 2026-05-11 20:41:10 +05:30
heroku
hosted_vllm fix(hosted_vllm): normalize custom tools for chat completions (#25763) 2026-05-05 17:27:02 -07:00
huggingface
jina_ai/embedding
lemonade
litellm_proxy chore: simplify ownership tracking — drop thin stores, in-memory fallback, hand-rolled cache 2026-05-05 00:23:32 +00:00
llamafile/chat
lm_studio
manus
meta_llama
minimax
mistral
moonshot
nebius
novita/chat
nscale/chat
nvidia_riva feat(audio_transcription): add NVIDIA Riva STT provider (#27185) 2026-05-05 17:17:51 -07:00
oci
ocr
ollama Litellm agent oss staging 05 11 2026 (#27733) 2026-05-13 14:09:12 -07:00
openai Fix GPT-5 reasoning summary strip test path 2026-05-11 06:01:35 +00:00
openai_like
openrouter
ovhcloud
perplexity
pg_vector/vector_stores
publicai
ragflow/chat
recraft
reducto Litellm oss staging 04 21 2026 2 (#26569) 2026-05-20 21:25:19 -07:00
runwayml
s3_vectors
sagemaker refactor(bedrock/sagemaker): switch to lazy loading for response stre… (#28189) 2026-05-18 23:21:04 -07:00
sambanova
sap
scaleway
snowflake
stability
vercel_ai_gateway
vertex_ai fix(vertex_gemma): strip context_management from request body (#28438) 2026-05-21 23:10:33 +05:30
volcengine
voyage/rerank
wandb
watsonx
xai Litellm oss staging 04 21 2026 2 (#26569) 2026-05-20 21:25:19 -07:00
zai
test_cache_control_and_reasoning.py
test_file_content_block.py Litellm oss staging (#28161) 2026-05-18 16:27:44 -07:00
test_file_search_responses.py fix(tests): use canonical litellm_enterprise import path (#27699) 2026-05-12 12:32:57 -07:00
test_lifecycle_fix.py
test_oom_fixes.py
test_polling_url_origin_match.py chore(security): close two unaddressed SSRF cases 2026-05-01 18:43:47 +00:00
test_predibase_transformation.py