mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
last priority key alias
This commit is contained in:
parent
52cdc5f04e
commit
10dfe0b32e
1 changed files with 2 additions and 1 deletions
|
|
@ -799,7 +799,8 @@ class NomaGuardrail(CustomGuardrail):
|
|||
or request_data.get("metadata", {})
|
||||
.get("headers", {})
|
||||
.get("x-noma-application-id")
|
||||
or (user_auth.key_alias if user_auth.key_alias else self.application_id),
|
||||
or self.application_id
|
||||
or user_auth.key_alias,
|
||||
"ipAddress": request_data.get("metadata", {}).get(
|
||||
"requester_ip_address", None
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue