litellm/tests
mateo-berri 77cddef32e
Some checks failed
LiteLLM Rust / rust-wheel (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
fix(anthropic): apply the 2026-10-21 sampling gate only on Anthropic's own API (lts)
An anthropic/ deployment whose api_base, ANTHROPIC_API_BASE or ANTHROPIC_BASE_URL points at a third-party Anthropic-compatible API such as DeepSeek or MiniMax now sends temperature, top_p and top_k through under anthropic-version 2026-10-21 again, so the provider decides, as before the gate

The gate still applies when the resolved base host is api.anthropic.com, and on Azure AI, Bedrock Claude Platform and Bedrock Mantle. The OpenAI-like /v1/messages passthrough, which also resolves to the anthropic provider, is no longer gated for its own api_base. The Rust gateway checks the host of the URL get_complete_url resolves
2026-11-19 19:00:41 -08:00
..
_support
base_sdk_tests fix(sdk): backport #45961 to lts/1.108.x 2026-11-07 17:55:52 -08:00
benchmarks fix(anthropic): keep trailing user messages with None or empty list content (#41397) 2026-10-16 07:41:05 +00:00
code_coverage_tests Merge pull request #52155 from mika-lt/litellm_lts_custom_llm_generate_content 2026-11-16 17:09:56 -08:00
documentation_tests fix(proxy): let configured pass-through endpoints outrank built-in provider prefix routes (#44133) 2026-10-10 12:26:17 -07:00
e2e test(e2e): remove the secret manager suite (#51241) 2026-11-11 15:05:21 -08:00
e2e_harness test(e2e): retire the quiet_stack lock and batch the claude_code model registration (#49984) 2026-11-06 17:27:13 -08:00
fixtures test: migrate tests/llm_translation into unit, integration and e2e tiers (#45759) 2026-10-11 07:58:53 +00:00
harness_e2e
integration Merge pull request #52117 from mika-lt/litellm_messages_reasoning_signature_delta_lts 2026-11-16 20:46:29 -08:00
rust-python-harness docs(agents): ban semicolons and colons in human-facing text (#45684) 2026-10-09 16:36:32 -07:00
test_litellm_rust test(rust-bridge): select native routes per test without LITELLM_RUST (#46620) 2026-10-15 09:12:08 -07:00
typing fix: support OpenAI SDK 3 while retaining SDK 2 compatibility (#44927) 2026-10-09 19:45:50 -07:00
unit fix(anthropic): apply the 2026-10-21 sampling gate only on Anthropic's own API (lts) 2026-11-19 19:00:41 -08:00
windows_tests test: move packaging and install checks off CircleCI build_and_test (#45757) 2026-10-10 09:33:51 -07:00
__init__.py
_fake_openai_endpoint_server.py
_flush_vcr_cache.py
_live_test_helpers.py
_master_key.py
_openai_record_replay_proxy.py
_process_helpers.py
_vcr_conftest_common.py test: migrate tests/llm_translation into unit, integration and e2e tiers (#45759) 2026-10-11 07:58:53 +00: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.