litellm/tests/test_litellm_rust
Yujong Lee e3163aa98b fix(rust-bridge): stamp num_retries and timeout on async native failures
The async @client wrapper sets num_retries and timeout on every exception it
raises, and the Router reads num_retries off the exception to decide how many
times to retry. Async native calls raised without them. Both paths now call
one stamp_async_failure helper, so a native failure carries the same retry
count and timeout a Python one does

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 03:13:58 +00:00
..
chat_completions refactor(rust-bridge): let cache adapters own request preparation 2026-10-19 03:13:58 +00:00
embeddings refactor(rust-bridge): decide native routing in the catalog, drop the bypass predicates 2026-10-19 03:06:30 +00:00
messages refactor(rust-bridge): let cache adapters own request preparation 2026-10-19 03:13:58 +00:00
ocr refactor(rust-bridge): let cache adapters own request preparation 2026-10-19 03:13:58 +00:00
responses refactor(rust-bridge): let cache adapters own request preparation 2026-10-19 03:13:58 +00:00
support refactor(rust-bridge): let cache adapters own request preparation 2026-10-19 03:13:58 +00:00
tokenizer 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
AGENTS.md refactor(rust-bridge): detect Python-only features in the catalog instead of Rust declines 2026-10-19 03:06:30 +00:00
conftest.py refactor(rust-bridge): let cache adapters own request preparation 2026-10-19 03:13:58 +00:00
test_clickhouse_spend.py refactor(lens): connect LiteLLM to the independent Lens service (#45529) 2026-10-09 16:17:05 -07:00
test_dispatch.py refactor(rust-bridge): detect Python-only features in the catalog instead of Rust declines 2026-10-19 03:06:30 +00:00
test_fork_guard.py test(rust-bridge): select native routes per test without LITELLM_RUST (#46620) 2026-10-15 09:12:08 -07:00
test_public_entries.py fix(rust-bridge): stamp num_retries and timeout on async native failures 2026-10-19 03:13:58 +00:00