litellm/tests/test_litellm/responses/litellm_completion_transformation
yucheng-berri ba8d8b6e14
fix(logging): redact tool call arguments to valid JSON and preserve null content (#38182)
* fix(logging): redact tool call arguments to valid JSON and preserve null content

Resolves LIT-6102

* refactor(logging): centralize redacted tool-call arguments constant and satisfy test-quality gate

* fix(responses): drop Final annotations on loop-assigned locals flagged by basedpyright

* fix(responses): skip custom tool calls in redacted-arguments normalizer

* fix(logging): keep the redaction sentinel in stored tool-call arguments and preserve null output text
2026-08-25 16:38:18 -07:00
..
test_function_call_output_normalization.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_handler.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_image_generation_output.py refactor: drop the unused response argument from the image item extractor 2026-08-22 14:22:08 -07:00
test_litellm_completion_responses.py fix(logging): redact tool call arguments to valid JSON and preserve null content (#38182) 2026-08-25 16:38:18 -07:00
test_reasoning_input_item_preservation.py fix(responses-bridge): fall back to summary text when content carries none 2026-08-22 14:51:38 -07:00
test_session_handler.py fix(logging): redact tool call arguments to valid JSON and preserve null content (#38182) 2026-08-25 16:38:18 -07:00
test_session_handler_with_cold_storage.py test: enforce F811 so a duplicate definition cannot silently replace the first 2026-08-21 12:06:19 -07:00
test_streaming_iterator_transformation.py test(responses): fold the bridged streaming regressions into the mapped test file 2026-08-22 14:33:23 -07:00
test_tool_output_order_preserved_for_gemini.py test: cover the reverse bridge on an assistant message that precedes its function_call 2026-08-22 14:53:18 -07:00