litellm/tests/pass_through_tests
Mateo Wang f3e2167730
test(pass-through): move Gemini pass-through tests to gemini-3.1-flash-lite (#29595)
* test(pass-through): move Gemini pass-through tests to gemini-3.1-flash-lite

gemini-2.5-flash-lite is a generation behind and is slated for discontinuation on Vertex AI no earlier than October 16, 2026, so the pass-through suite was exercising an aging model. Every reference now points at gemini-3.1-flash-lite, which is GA and already priced in the cost map so the spend-logging assertions still compute a real cost

test_vertex.test.js also gains jest.retryTimes(3) to match the sibling spend tests. The CI failures were intermittent 429 RESOURCE_EXHAUSTED from Vertex quota pressure, and that file was the only one without a retry, so a single rate-limited request was failing the whole job

* test(pass-through): point Vertex tests at the global endpoint for gemini-3.1-flash-lite

gemini-3.1-flash-lite is not served on the Vertex us-central1 regional endpoint for the CI project, so the Vertex pass-through tests were returning a deterministic 404 "Publisher Model ... was not found or your project does not have access to it" while the Gemini API tests passed. Move the Vertex clients to the global location, which the pass-through router maps to aiplatform.googleapis.com, where the 3.1 family is served
2026-06-03 10:17:38 -07:00
..
ruby_passthrough_tests
base_anthropic_messages_test.py [Test] Anthropic Passthrough: Bump Thinking Tests Off Legacy Sonnet 4 Alias 2026-05-01 19:33:08 -07:00
package-lock.json chore(deps): bump deps (#28528) 2026-05-22 00:42:21 +00:00
package.json chore(deps): refresh dependency locks 2026-05-04 11:36:18 -07:00
test_anthropic_passthrough_basic.py test_anthropic_messages_to_wildcard_model 2026-01-07 15:03:06 +05:30
test_anthropic_passthrough_python_sdkpy fix test claude-sonnet-4-5-20250929 2025-10-31 18:13:29 -07:00
test_anthropic_passthrough.py [Test] Anthropic Passthrough: Bump Streaming Cost-Injection Test To Haiku 4.5 2026-05-01 19:22:39 -07:00
test_assembly_ai.py use mock tests for assembly AI 2026-03-30 19:59:32 -07:00
test_gemini_with_spend.test.js test(pass-through): move Gemini pass-through tests to gemini-3.1-flash-lite (#29595) 2026-06-03 10:17:38 -07:00
test_gemini.js
test_hosted_vllm_passthrough.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_local_gemini.js test(pass-through): move Gemini pass-through tests to gemini-3.1-flash-lite (#29595) 2026-06-03 10:17:38 -07:00
test_local_vertex.js test(pass-through): move Gemini pass-through tests to gemini-3.1-flash-lite (#29595) 2026-06-03 10:17:38 -07:00
test_mcp_routes.py
test_openai_assistants_passthrough.py fix: always retain config models 2025-10-11 16:09:33 -07:00
test_vertex_ai.py test(pass-through): move Gemini pass-through tests to gemini-3.1-flash-lite (#29595) 2026-06-03 10:17:38 -07:00
test_vertex_with_spend.test.js test(pass-through): move Gemini pass-through tests to gemini-3.1-flash-lite (#29595) 2026-06-03 10:17:38 -07:00
test_vertex.test.js test(pass-through): move Gemini pass-through tests to gemini-3.1-flash-lite (#29595) 2026-06-03 10:17:38 -07:00
vertex_key.json test: update to new vertex ai keys 2026-03-28 20:19:05 -07:00