mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Fix black formatting: collapse f-string in error message
This commit is contained in:
parent
ceb5b5df8c
commit
109e0a6d94
1 changed files with 1 additions and 4 deletions
|
|
@ -157,10 +157,7 @@ class PromptGuardGuardrail(CustomGuardrail):
|
|||
if self.block_on_error:
|
||||
raise GuardrailRaisedException(
|
||||
guardrail_name=self.guardrail_name,
|
||||
message=(
|
||||
f"PromptGuard API unreachable "
|
||||
f"(block_on_error=True): {exc}"
|
||||
),
|
||||
message=f"PromptGuard API unreachable (block_on_error=True): {exc}",
|
||||
) from exc
|
||||
return inputs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue