litellm/tests/unit/rust_bridge
Yujong Lee 275922e04d refactor(rust-bridge): delete the legacy chat entrypoints and identity route_host arguments
chat_completions and achat_completions took a Python-built optional_params
dict and skipped hooks, callbacks and map_failure. Dispatch only binds
completion and acompletion, so nothing in Python reached them. The wheel
smoke test now drives its success, 429, concurrency and SIGINT checks
through transcription, which also loads without the litellm package.

Every route_host.py carried arguments(request) returning request, which
map_failure called for nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 08:35:54 -07:00
..
chat_completions refactor(rust-bridge): delete the legacy chat entrypoints and identity route_host arguments 2026-10-08 08:35:54 -07:00
messages refactor(rust-bridge): delete the legacy chat entrypoints and identity route_host arguments 2026-10-08 08:35:54 -07:00
ocr refactor(rust-bridge): unify native call inputs and Messages settings (#45126) 2026-10-07 15:05:43 -07:00
responses refactor(rust-bridge): delete the legacy chat entrypoints and identity route_host arguments 2026-10-08 08:35:54 -07:00
trace perf(lens): bound single trace reads by the sampled start time (#45088) 2026-10-07 12:50:35 -07:00
__init__.py test: migrate phase 15 legacy tests to tests/unit 2026-09-20 11:55:43 +00:00
AGENTS.md refactor(rust-bridge): unify native call inputs and Messages settings (#45126) 2026-10-07 15:05:43 -07:00
native_route_wheel_test.py refactor(rust-bridge): delete the legacy chat entrypoints and identity route_host arguments 2026-10-08 08:35:54 -07:00
stubtest.ini test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
test_bindings.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
test_callbacks_legacy_python.py fix(lens): price agent traces by joining gen_ai.response.id to spend logs (#44738) 2026-10-06 19:55:26 +00:00
test_catalog.py refactor(rust_bridge): remove rule-gated native secret-manager selection (#44906) 2026-10-06 19:14:55 +00:00
test_configuration.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
test_dispatch.py refactor(rust_bridge): remove rule-gated native secret-manager selection (#44906) 2026-10-06 19:14:55 +00:00
test_failures.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
test_fork_guard.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
test_lifecycle.py refactor(rust): centralize host execution and compose callbacks (#43515) 2026-09-28 19:20:27 +00:00
test_logger.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
test_model_capabilities.py refactor(rust-bridge): unify native call inputs and Messages settings (#45126) 2026-10-07 15:05:43 -07:00
test_preflight.py refactor(rust): move credential inheritance and the SDK limits out of the legacy callback crate into a driver preflight (#43259) 2026-09-26 01:09:36 +00:00
test_public_call.py refactor(rust-bridge): unify native call inputs and Messages settings (#45126) 2026-10-07 15:05:43 -07:00
test_runtime.py feat(cache): select Rust caching through explicit cache objects (#43601) 2026-09-29 00:01:44 +00:00
test_secret_manager.py refactor(rust_bridge): remove rule-gated native secret-manager selection (#44906) 2026-10-06 19:14:55 +00:00
test_settings.py refactor(rust_bridge): remove rule-gated native secret-manager selection (#44906) 2026-10-06 19:14:55 +00:00
test_token_counter.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
test_tokenizer.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
test_verify_linux_native_wheel.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00