mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix: fix linting issue
This commit is contained in:
parent
8bda90b3c1
commit
5cfabe9a09
2 changed files with 9 additions and 11 deletions
|
@ -199,9 +199,7 @@ class _OPTIONAL_PromptInjectionDetection(CustomLogger):
|
|||
async def async_moderation_hook(
|
||||
self,
|
||||
data: dict,
|
||||
call_type: (
|
||||
Literal["completion"] | Literal["embeddings"] | Literal["image_generation"]
|
||||
),
|
||||
call_type: Literal["completion", "embeddings", "image_generation"],
|
||||
):
|
||||
verbose_proxy_logger.debug(
|
||||
f"IN ASYNC MODERATION HOOK - self.prompt_injection_params = {self.prompt_injection_params}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue