mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(init_callbacks.py): fix presidio optional param
This commit is contained in:
parent
80e7310c5c
commit
770f2d80e0
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ def initialize_guardrails(
|
|||
|
||||
if guardrail.logging_only is True:
|
||||
if callback == "presidio":
|
||||
callback_specific_params["logging_only"] = True # type: ignore
|
||||
callback_specific_params["presidio"] = {"logging_only": True} # type: ignore
|
||||
|
||||
default_on_callbacks_list = list(default_on_callbacks)
|
||||
if len(default_on_callbacks_list) > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue