litellm/tests/unit/llms/anthropic/pass_through/adapters
ishaan-j-berri 387b8b3477
fix(anthropic): release upstream messages stream on disconnect (#48197) (#48220)
* fix(anthropic): close upstream messages stream on disconnect (#48197)

* test(anthropic): prove disconnect cleanup over live proxy (#48197)
2026-10-25 00:06:31 +00:00
..
__init__.py refactor(anthropic): rename experimental_pass_through to pass_through (#43329) 2026-09-26 13:00:50 -07:00
test_anthropic_experimental_pass_through_adapters_transformation.py feat(router)!: apply each deployment's reasoning_effort_levels on every provider and route (#46601) 2026-10-20 04:34:55 +00:00
test_handler_context_management.py feat(context_management)!: honor clear_at_least, exclude_tools and clear_tool_inputs in the clear_tool_uses polyfill (#47123) 2026-10-20 07:11:59 +00:00
test_handler_output_config_passthrough.py fix(websearch_interception): drop stream_options when forcing stream=False and replay it on the final stream (#45433) 2026-10-09 22:16:02 -07:00
test_handler_prompt_cache_key.py refactor(anthropic): rename experimental_pass_through to pass_through (#43329) 2026-09-26 13:00:50 -07:00
test_handler_reasoning_effort_normalization.py feat(router)!: apply each deployment's reasoning_effort_levels on every provider and route (#46601) 2026-10-20 04:34:55 +00:00
test_handler_safeguard_results.py feat(anthropic): generate auto mode safeguard_results with a classifier model on the /v1/messages chat bridge (#45600) 2026-10-14 13:09:11 +00:00
test_streaming_iterator_combined_chunk.py fix(caching): keep prompt cache usage on streamed cache hits (#47073) 2026-10-16 23:28:11 -07:00
test_streaming_iterator_compaction.py feat(anthropic): workload identity federation and pluggable identity sources (#44448) 2026-10-03 17:08:30 -07:00
test_streaming_iterator_empty_choices.py feat(anthropic): workload identity federation and pluggable identity sources (#44448) 2026-10-03 17:08:30 -07:00
test_streaming_iterator_first_delta.py feat(anthropic): workload identity federation and pluggable identity sources (#44448) 2026-10-03 17:08:30 -07:00
test_streaming_iterator_message_id.py refactor(anthropic): rename experimental_pass_through to pass_through (#43329) 2026-09-26 13:00:50 -07:00
test_streaming_iterator_mid_stream_error.py fix(router): log each dropped /v1/messages attempt through its own logging copy and open the retry without its usage (#45194) 2026-10-20 21:46:45 -07:00
test_streaming_iterator_sse_stream.py fix(anthropic): release upstream messages stream on disconnect (#48197) (#48220) 2026-10-25 00:06:31 +00:00
test_streaming_iterator_stop_reason.py refactor(anthropic): rename experimental_pass_through to pass_through (#43329) 2026-09-26 13:00:50 -07:00
test_streaming_iterator_tool_args.py fix(anthropic): emit one tool_use block per call when a /v1/messages stream chunk carries several (#46492) 2026-10-15 04:27:51 +00:00