mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
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 |
||
|---|---|---|
| .. | ||
| messages | ||
| ocr | ||
| support | ||
| conftest.py | ||
| test_cache.py | ||
| test_fork_guard.py | ||
| test_ocr.py | ||
| test_tokenizer.py | ||
| test_valkey_semantic_cache_native.py | ||