mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
The streaming scan key is now None when a data line holds an object the guardrail cannot decode, or when one SSE event carries more than one data line, so the scheduler can no longer skip that round as redundant and the refusal always runs Presidio now holds the first frame until it sees a JSON object frame, so a leading non-object line no longer makes it treat the stream as non-Anthropic and forward it unmasked, and it refuses a first frame no reader can take. The skipped-event warning no longer logs the line's content The guardrail stream readers in the harness usage parser, the LLM Shield restorer, the blocked-usage helper and Presidio unmasking now skip a line that is nested too deep or holds a number too large to decode instead of raising, and PANW Prisma AIRS refuses such a text event instead of forwarding it unscanned |
||
|---|---|---|
| .. | ||
| handlers | ||
| sandbox | ||
| __init__.py | ||
| core_fakes.py | ||
| test_endpoint.py | ||
| test_init.py | ||
| test_runtime.py | ||
| test_sync.py | ||
| test_types.py | ||