mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
Update litellm/proxy/guardrails/guardrail_hooks/deepkeep/deepkeep.py
Co-authored-by: veria-ai[bot] <224490171+veria-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
d8c43e8c76
commit
ca5666f8b7
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ class DeepKeepGuardrail(CustomGuardrail):
|
|||
return_inputs["images"] = response_json["images"]
|
||||
elif images:
|
||||
return_inputs["images"] = images
|
||||
if response_json.get("tools"):
|
||||
if response_json.get("tools") is not None:
|
||||
return_inputs["tools"] = response_json["tools"]
|
||||
elif tools:
|
||||
return_inputs["tools"] = tools
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue