mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix: fix linting errors
This commit is contained in:
parent
8887b89dc7
commit
0591b5c337
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class AimGuardrail(CustomGuardrail):
|
|||
|
||||
async def call_aim_guardrail_on_output(
|
||||
self, request_data: dict, output: str, hook: str
|
||||
) -> None:
|
||||
) -> Optional[str]:
|
||||
user_email = (
|
||||
request_data.get("metadata", {}).get("headers", {}).get("x-aim-user-email")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue