litellm/tests
narmstrong-berry b2dc714c97
feat(messages): serve vertex ai claude messages on rust only
Provider vertex_ai on /v1/messages is now RUST_REQUIRED when the call targets
native Messages, so Claude on Vertex runs on Rust with no Python fallback.
Gemini and other Vertex models keep the Python chat and Responses bridge.

Rust now matches the Python Vertex path on the upstream error provider, the
credential, project and location errors, the Authorization override with the
minted Google token, the Vertex beta filter, output_format, threads and the
anthropic-version refusal.

auth-gcp mints tokens for LiteLLM's explicit aws_* workload identity keys,
loads any gcloud ADC file type and resolves the project id like Python when
vertex_project is unset.

Adds a Vertex Messages parity suite and unit tests for the new host paths.
2026-11-12 02:27:44 +00:00
..
_support feat(mcp): add an opt-in per-server setting to skip MCP tool output validation (#49961) 2026-11-03 20:42:10 -08:00
audio_tests feat(vertex-ai)!: support gemini 3.1 flash tts (#31915) 2026-10-21 04:18:42 +00:00
base_sdk_tests feat(packaging): build litellm-proxy gateway wheels (#49605) 2026-11-05 16:37:12 -08:00
basic_proxy_startup_tests feat(docker)!: one shipped image and one entrypoint beside the Dockerfile (#43332) 2026-11-10 18:32:16 -08:00
benchmarks fix(realtime)!: send the Gemini Live setup at the first content so session.update settings apply (#39864) 2026-10-30 01:31:39 -07:00
code_coverage_tests chore: remove cookbook and preserve live assets (#50944) 2026-11-11 15:38:27 -08:00
documentation_tests fix(anthropic_messages): bound the detached pump so it cannot outlive its stream (#51268) 2026-11-11 17:06:15 -08:00
e2e ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
e2e_harness test(e2e): add a Codex row where a sub-agent must read the task its parent hands it (#50494) 2026-11-07 21:16:39 +00:00
fixtures test: migrate tests/llm_translation into unit, integration and e2e tiers (#45759) 2026-10-11 07:58:53 +00:00
harness_e2e fix(harness): set PWD to the working directory of local sandbox commands (#47530) 2026-10-20 20:06:11 +00:00
integration fix(gemini): attribute /gemini batchGenerateContent batches to the calling key (#51279) 2026-11-11 17:39:27 -08:00
rust-python-harness feat(messages): serve vertex ai claude messages on rust only 2026-11-12 02:27:44 +00:00
test_litellm_rust feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
typing fix: support OpenAI SDK 3 while retaining SDK 2 compatibility (#44927) 2026-10-09 19:45:50 -07:00
unit feat(messages): serve vertex ai claude messages on rust only 2026-11-12 02:27:44 +00:00
windows_tests feat(proxy): supervise the opt-in Rust forwarding server (#49606) 2026-11-11 19:40:00 +00:00
__init__.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
_fake_openai_endpoint_server.py
_flush_vcr_cache.py
_live_test_helpers.py
_master_key.py fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
_openai_record_replay_proxy.py
_process_helpers.py
_vcr_conftest_common.py ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
_vcr_redis_persister.py
_wait_helpers.py
_ws_vcr.py
AGENTS.md docs(agents): ban semicolons and colons in human-facing text (#45684) 2026-10-09 16:36:32 -07:00
capturing_transport.py
eval_swe_bench.py
fake_openai_endpoint.py
gettysburg.wav
large_text.py
openai_batch_completions.jsonl
pyrightconfig.json
README.MD
test_logging.conf
test_rust_python_harness.py test: move 76 live top-level tests to offline unit and integration coverage (#45352) 2026-10-08 10:33:35 -07:00
VCR_TESTING.md test: migrate tests/llm_translation into unit, integration and e2e tiers (#45759) 2026-10-11 07:58:53 +00:00
white_100x100.png

In total litellm runs 1000+ tests

[02/20/2025] Update:

To make it easier to contribute and map what behavior is tested,

we've started mapping the litellm directory in tests/unit

This folder can only run mock tests.