litellm/tests
mateo-berri eaef3f0d27
Some checks are pending
LiteLLM Rust / rust-lint (push) Waiting to run
LiteLLM Rust / rust-test (push) Waiting to run
LiteLLM Rust / rust-wheel (push) Waiting to run
fix(anthropic): default max_tokens to a deployment's declared max_output_tokens
A Claude deployment naming another provider no longer writes the model's
shared cost map entry when the catalog has the model, so the request
transform stopped seeing the deployment's max_output_tokens and sent the
catalog maximum instead. Read it from the deployment's model_info first,
as main does since #49952 (request part only)
2026-12-04 03:35:29 -08:00
..
_support
base_sdk_tests
benchmarks test(benchmarks): benchmark Presidio's first-frame wait over many leading reads and a frame split into many reads 2026-11-25 02:16:49 -08:00
code_coverage_tests fix(cost): keep a deployment naming another provider off its model's shared cost map entry 2026-12-03 23:02:46 -08:00
documentation_tests fix(responses): bill a client-cancelled native Responses stream with the usage the provider reports 2026-11-26 22:49:07 +00:00
e2e test(e2e): move Anthropic computer tool and tool search tests off retired claude-sonnet-4-5 (#55409) 2026-12-01 15:56:01 -08:00
e2e_harness test(e2e): move the Claude Code matrix to Opus, Sonnet and Haiku 5.5, Fable 5.2 and GPT-6 (#54305) 2026-12-01 15:56:01 -08:00
fixtures
harness_e2e
integration test: fix three integration tests that fail on lts/1.108.x 2026-12-03 12:59:09 -08:00
rust-python-harness
test_litellm_rust Merge remote-tracking branch 'origin/lts/1.108.x' into litellm_keep_tool_use_ids_non_anthropic_base_lts 2026-11-25 19:52:27 -08:00
typing
unit fix(anthropic): default max_tokens to a deployment's declared max_output_tokens 2026-12-04 03:35:29 -08:00
windows_tests
__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
_vcr_redis_persister.py
_wait_helpers.py
_ws_vcr.py
AGENTS.md
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
VCR_TESTING.md
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.