mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
- deprecated registry members called with a None name read the registry source directly again,
as they did before registry() existed, so both cores return the old empty result instead of
registry()'s TypeError (get_model_group, resolve_served_model_name, get_model_from_alias,
get_routable_upstream_model, get_candidate_model_ids_for_route, get_remaining_model_group_usage)
- rust core keeps retry_after, timeout, num_retries, allowed_fails and max_fallbacks as given, as the
python core stores them; update_settings casts to int as python does; the crate reads them as numbers
- rust core adds the {"*": ...} fallback entry whenever default_fallbacks is given, even empty
- rust core passes the configured model_name to deployment ids and deployments as given and logs the
group names after set_model_list, so a non-string model_name and an alias without hidden fail as
they do on the python core
|
||
|---|---|---|
| .. | ||
| _support | ||
| audio_tests | ||
| base_sdk_tests | ||
| benchmarks | ||
| code_coverage_tests | ||
| documentation_tests | ||
| e2e | ||
| e2e_harness | ||
| fixtures | ||
| harness_e2e | ||
| integration | ||
| rust-python-harness | ||
| test_litellm_rust | ||
| typing | ||
| unit | ||
| 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.