litellm/tests/unit/completion_extras
Joshua Valluru ec1c643c9e fix(responses): keep moved commentary guarded, redacted and replayable
Moved commentary now lives in one carrier field that every guardrail and
logger sees. Chat input guardrails read it as part of the turn's content,
and a rewrite replaces the carrier so the original text cannot be replayed.
Message-log redaction drops the carrier and the replay record bound to it.
While an output guardrail runs for the request, commentary stays in content.

Continued turns resend moved commentary on every route, with its phase only
on routes that read phase, including turns with hosted tools, apply_patch
calls or an incomplete status. A stream that fails or stops while text is
held delivers that text before surfacing the error, and cancellation still
propagates untouched.
2026-11-19 17:04:14 -08:00
..
litellm_responses_transformation fix(responses): keep moved commentary guarded, redacted and replayable 2026-11-19 17:04:14 -08:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
test_litellm_responses_transformation_transformation.py test: migrate wave 1 phase 1 legacy tests to tests/unit 2026-09-20 09:17:57 +00:00
test_responses_bridge_provider_propagation.py fix(responses): honor request cache controls on chat completions bridged to the Responses API (#44676) 2026-10-05 17:52:44 -07:00