litellm/tests
mateo-berri 7089e7ef73
Some checks are pending
Cost map pins recheck / rerun-cost-map-guard (push) Waiting to run
Terraform Modules / fmt, validate, test (aws) (push) Waiting to run
Terraform Modules / fmt, validate, test (gcp) (push) Waiting to run
Terraform Provider / gofmt, vet, build, test (push) Waiting to run
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Waiting to run
fix(xai): count grok tools, structured output and reply tokens the way each host bills them
grok-4.5 to 4.7, grok-4.20 and grok-build now send tools as one JSON line per function with a measured tool overhead,
tool schemas drop $schema on xAI where it is not billed, Azure grok adds its own structured output instruction tokens,
and the xAI count adds the 3 reply tokens the local estimate already counts
2026-12-02 23:56:24 -08:00
..
_support refactor(rust): rename participle functions in llms, bridge, redis and router crates (#55222) 2026-12-01 15:46:37 +00:00
audio_tests
base_sdk_tests fix(packaging): ship the Anthropic tokenizer in the litellm-proxy sdist (#55642) 2026-12-01 18:33:06 -08:00
basic_proxy_startup_tests
benchmarks refactor(rust): rename the compiled module _native to _rust (#55198) 2026-12-01 07:08:38 -08:00
code_coverage_tests fix(bedrock): keep null values in Converse tool schemas (#55598) 2026-12-02 11:46:28 +00:00
documentation_tests fix(proxy): bill full provider usage on interrupted /chat/completions streams (#54542) 2026-11-30 13:46:23 -08:00
e2e test(e2e): cover a codex thread that resumes while its first deployment is down (#55842) 2026-12-02 16:32:14 -08:00
e2e_harness test(cost): verify basic provider pricing from returned usage (#55363) 2026-12-01 16:46:46 -08:00
fixtures
harness_e2e
integration fix(github-copilot): drop unsupported Unicode tool patterns (#54103) 2026-12-03 00:19:21 +00:00
rust-python-harness refactor(rust): rename the compiled module _native to _rust (#55198) 2026-12-01 07:08:38 -08:00
test_litellm_rust fix(anthropic): strip per-message output_config under drop_params for models without per-turn effort (#55803) 2026-12-02 13:39:47 -08:00
typing chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
unit fix(xai): count grok tools, structured output and reply tokens the way each host bills them 2026-12-02 23:56:24 -08:00
windows_tests ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
__init__.py
_fake_openai_endpoint_server.py
_flush_vcr_cache.py
_live_test_helpers.py
_master_key.py
_module_state.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
_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.