mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix allow setting language per call to presidio
This commit is contained in:
parent
d954413b14
commit
9b5164b38d
2 changed files with 60 additions and 14 deletions
|
@ -420,6 +420,10 @@ def move_guardrails_to_metadata(
|
|||
data[_metadata_variable_name]["guardrails"] = data["guardrails"]
|
||||
del data["guardrails"]
|
||||
|
||||
if "guardrail_config" in data:
|
||||
data[_metadata_variable_name]["guardrail_config"] = data["guardrail_config"]
|
||||
del data["guardrail_config"]
|
||||
|
||||
|
||||
def add_provider_specific_headers_to_request(
|
||||
data: dict,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue