litellm/tests/unit/llms/anthropic/messages
Nate Armstrong 2f448a9ee8
refactor(proxy): keep the detached stream failure hook state on the logging object (#51962)
Follow-up to #51318. The detached stream failure hook lives on the logging object, so it must not
hold that object (#51277). Instead of a weakref, Logging.report_detached_stream_failure passes itself
to the hook, so the Anthropic stream iterators call it rather than reading the hook attribute. The
client stream's hold-until-it-ends latch moves onto Logging too (hold_stream_failures,
release_held_stream_failure), replacing _ClientStreamFailureReport and its swapping of the hook
attribute, and the hook's request data is copied with the without helper
2026-11-16 02:16:05 -05:00
..
adapters refactor(proxy): keep the detached stream failure hook state on the logging object (#51962) 2026-11-16 02:16:05 -05:00
context_management fix(proxy): count the context_management edits /v1/messages applies on every bridged provider (#49234) 2026-11-02 10:38:35 -08:00
native refactor(proxy): keep the detached stream failure hook state on the logging object (#51962) 2026-11-16 02:16:05 -05:00
responses_adapters refactor(proxy): keep the detached stream failure hook state on the logging object (#51962) 2026-11-16 02:16:05 -05:00
__init__.py
conftest.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
test_advisor_orchestration.py refactor(router): delete the python router core, the rust core is the only core (#50178) 2026-11-05 10:40:46 -08:00
test_anthropic_native_passthrough_spend_logging.py refactor(anthropic): rename llms/anthropic/pass_through to llms/anthropic/messages (#48510) 2026-10-27 10:08:25 -07:00
test_caller_model_checks.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
test_convertible_blocks.py refactor(anthropic): rename llms/anthropic/pass_through to llms/anthropic/messages (#48510) 2026-10-27 10:08:25 -07:00
test_reasoning_effort_fields.py refactor(router): route the router family through RoutingContext and close the outside surface (#49118) 2026-10-30 19:18:54 -07:00
test_safeguards.py refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
test_stream_assembly.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00