mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
The `if hasattr(...)` guards in test_acompletion_with_mcp_adds_metadata_to_streaming and test_acompletion_with_mcp_streaming_metadata_in_correct_chunks could silently skip the provider_specific_fields assertions if chunks lacked choices/delta. Replace with unconditional `assert hasattr(...)` so failures surface immediately. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| litellm_completion_transformation | ||
| mcp | ||
| test_no_duplicate_spend_logs.py | ||
| test_null_test_fix.py | ||
| test_responses_api_request_body.py | ||
| test_responses_utils.py | ||
| test_text_format_conversion.py | ||