litellm/tests/unit/responses
Mateo Wang faf4ce3985
fix(responses): preserve native stream spend on guardrail rejection (#50286)
* fix(responses): preserve native stream spend on guardrail rejection

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(responses): type deferred logging dispatch once

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(responses): expect guarded rounds on one failure row

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* style(tests): format guarded billing regression

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* style(tests): preserve existing MCP unit formatting

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-05 15:47:24 -08:00
..
litellm_completion_transformation
mcp fix(responses): preserve native stream spend on guardrail rejection (#50286) 2026-11-05 15:47:24 -08:00
__init__.py
test_additional_tools.py
test_custom_tool_call.py
test_metadata_codex_callback.py
test_no_duplicate_spend_logs.py
test_null_test_fix.py
test_responses_api_bridge_flag.py
test_responses_api_lifecycle.py
test_responses_api_request_body.py
test_responses_prompt_management.py
test_responses_router_cooldown.py
test_responses_streaming_iterator.py
test_responses_supported_endpoints_passthrough.py
test_responses_utils.py
test_responses_websocket_all_providers.py
test_rust_bridge_websocket.py
test_sse_output_recovery.py
test_streaming_iterator.py
test_streaming_iterator_error_events.py
test_text_format_conversion.py