litellm/tests/unit/llms/anthropic/messages/native
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
..
__init__.py
test_advisor_integration.py
test_agentic_streaming_iterator.py fix(agentic)!: surface a failed agentic follow-up call instead of the pre-loop tool call (#49227) 2026-11-04 02:00:33 +00:00
test_anthropic_messages_effort.py
test_anthropic_messages_encrypted_reasoning.py refactor(prompt_templates): move JSON schema helpers out of common_utils into json_schema_utils (#50241) 2026-11-05 17:25:53 -08:00
test_anthropic_messages_handler.py feat(messages): serve bedrock invoke messages on rust only (#51330) 2026-11-15 16:58:31 -08:00
test_anthropic_messages_per_turn_control.py
test_anthropic_messages_router.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
test_anthropic_messages_service_tier.py
test_anthropic_messages_speed.py
test_anthropic_messages_structured_outputs.py
test_anthropic_messages_transformation.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
test_content_after_stop_reason.py
test_fake_stream_iterator.py fix(websearch-interception)!: stream native server-tool blocks to clients (#40967) 2026-10-30 00:06:57 -07:00
test_mcp_handler.py fix(anthropic): stream azure_ai natively on an Azure OpenAI host on /v1/messages (#49216) 2026-11-02 09:31:05 -08:00
test_mid_conversation_system.py
test_parallel_tool_calls.py
test_reasoning_auto_summary_messages.py
test_reasoning_effort_translation.py fix(logging): warn when drop_params drops a requested reasoning level on the remaining paths (#48933) 2026-10-30 08:48:43 -07:00
test_request_optional_param_utils.py feat(anthropic): forward message threads on native /v1/messages (#50976) 2026-11-10 18:33:54 -08:00
test_response_cache.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
test_sse_wrapper.py
test_streaming_iterator.py refactor(proxy): keep the detached stream failure hook state on the logging object (#51962) 2026-11-16 02:16:05 -05:00