mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-29 13:12:53 +00:00
51cc102c30
* fix(unified_guardrail.py): support during_call event type for unified guardrails allows guardrails overriding apply_guardrails to work 'during_call' * feat(generic_guardrail_api.py): support new 'tool_calls' field for generic guardrail api returns the tool calls emitted by the LLM API to the user * fix(generic_guardrail_api.py): working anthropic /v1/messages tool call response send llm tool calls to guardrail api when called via `/v1/messages` API * fix(responses/): run generic_guardrail_api on responses api tool call responses * fix: fix tests * test: fix tests * fix: fix tests