mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
Address Greptile review on PR #27139: - Concat all text parts in a chunk instead of dropping all but the first. - Surface hard-stop finish reasons (SAFETY, MAX_TOKENS, RECITATION, BLOCKLIST, PROHIBITED_CONTENT, SPII) even when the chunk has no user-facing content, so safety blocks don't look like benign intermediate chunks. Plain STOP on content-empty chunks is still dropped (the #19121 fix). Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| a2a_protocol/providers/pydantic_ai_agents | ||
| integrations/helicone | ||
| litellm_core_utils | ||
| llms | ||
| proxy | ||
| test_batch_completion_models_all_responses.py | ||
| test_bedrock_extended_beta_models.py | ||
| test_bedrock_nemotron_super.py | ||
| test_no_hardcoded_secrets.py | ||
| test_proxy_auth.py | ||
| test_router_retry_backoff_headers.py | ||
| test_stream_chunk_builder_images.py | ||