mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix(model_armor): decorate apply_guardrail with log_guardrail_information
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
f417d7f739
commit
39b916f13f
1 changed files with 1 additions and 0 deletions
|
|
@ -1226,6 +1226,7 @@ class ModelArmorGuardrail(CustomGuardrail, VertexBase):
|
||||||
for chunk in all_chunks:
|
for chunk in all_chunks:
|
||||||
yield chunk
|
yield chunk
|
||||||
|
|
||||||
|
@log_guardrail_information
|
||||||
async def apply_guardrail(
|
async def apply_guardrail(
|
||||||
self,
|
self,
|
||||||
inputs: GenericGuardrailAPIInputs,
|
inputs: GenericGuardrailAPIInputs,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue