litellm/tests/test_litellm/llms/openai/responses
mateo-berri a248ff2c6e fix(guardrails): fail open on Responses tool-call rewrites in another shape and keep item names
Guardrails that hand back tool_calls in their own shape (vendor JSON, user code output) raised a KeyError on the non-stream Responses write-back. Returned tool calls are now validated before comparison; a shape or count that does not line up leaves every tool-call item unchanged and logs a warning naming the guardrail. A tool call's name is written back only when the guardrail changed it, so a nameless custom_tool_call no longer picks up the custom_tool placeholder.
2026-09-09 16:14:50 -07:00
..
test_openai_count_tokens_transformation.py fix(responses): count input_file tokens instead of silently dropping the file 2026-08-31 13:17:43 -07:00
test_openai_responses_data_residency.py feat(openai): apply regional-processing cost uplift for EU/US data residency (#28626) 2026-05-25 20:36:14 -07:00
test_openai_responses_guardrail_handler.py fix(guardrails): fail open on Responses tool-call rewrites in another shape and keep item names 2026-09-09 16:14:50 -07:00
test_openai_responses_guardrail_tool_merge.py fix(responses): accept pydantic tool objects returned by guardrails 2026-09-02 15:24:43 -07:00
test_openai_responses_transformation.py fix(responses): only drop reasoning when it carries an effort and let an explicit map flag win 2026-09-05 18:53:37 -07:00