litellm/tests/test_litellm_rust
Yujong Lee ef42347675 feat(rust/messages): resend once without thinking after an invalid thinking signature
When Anthropic rejects replayed history with a 400 about an invalid or missing
thinking signature, or an empty thinking block, the native route now strips the
thinking and redacted_thinking blocks plus the top-level thinking param and sends
the request once more, matching the python handler. Any other error, or a second
failure, surfaces unchanged

A new route-neutral RequestResent machine event lets the legacy logging adapter
report the body that actually produced the response
2026-09-24 15:50:03 -07:00
..
messages feat(rust/messages): resend once without thinking after an invalid thinking signature 2026-09-24 15:50:03 -07:00
ocr test(rust): model the blocking OCR hook as a guardrail so its raise propagates (#42775) 2026-09-23 12:18:24 -07:00
support feat(lint): add LIT013 flagging *-ok suppressions that suppress nothing and remove the 240 stale ones (#42793) 2026-09-23 17:50:09 -07:00
conftest.py test(rust): isolate callback registries per hypothesis example 2026-09-18 15:57:50 -07:00
test_cache.py feat(cache): add a guarded native response-cache resolver foundation (#42769) 2026-09-23 13:54:10 -07:00
test_fork_guard.py refactor(rust): align the cache crates with Python and wire every native backend (#42530) 2026-09-22 13:13:02 -07:00
test_ocr.py refactor(rust): run OCR through a route-neutral callback contract and a legacy Logging adapter 2026-09-17 21:13:16 -07:00
test_tokenizer.py feat(tokenizer): preserve Python defaults with opt-in Rust dispatch (#42174) 2026-09-22 04:41:11 +00:00
test_valkey_semantic_cache_native.py refactor(rust): align the cache crates with Python and wire every native backend (#42530) 2026-09-22 13:13:02 -07:00