Files
litellm/tests/test_litellm/llms
mateo-berri d8a1656e8b fix(bedrock): scan non-text converse blocks for passthrough guardrails
Key/team guardrails on bedrock converse passthrough only saw top-level
text blocks, so a caller could hide prompt content in toolUse.input or
toolResult.content[].json and have it forwarded to Bedrock without the
configured guardrail inspecting it, bypassing blocking guardrails by
default. Walk those arbitrary-JSON subtrees and write masked values back
in place. Extend the non-streaming converse response path to the
equivalent model-output fields (toolUse.input, reasoningContent text and
citationsContent text) while leaving structural values such as reasoning
signatures and citation sources untouched.
2026-06-12 07:30:31 +00:00
..
2026-06-02 08:48:10 -07:00
2026-05-18 16:27:44 -07:00
2026-06-01 21:22:35 -07:00
2026-06-01 21:22:35 -07:00
2026-06-10 10:34:07 -07:00
2026-06-10 10:34:07 -07:00
2026-06-10 10:34:07 -07:00
2026-06-10 10:34:07 -07:00