mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-29 06:33:28 +00:00
fix(guardrails): advertise the privaite floor the guardrail is tested against
The ImportError told users to install privaite>=0.2.4 while the guardrail relies on APIs and a block_entities config field that only later releases provide; 0.4.2 is the version its tests run against.
This commit is contained in:
parent
4af91b7b4f
commit
c6505635ec
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ class PrivaiteGuardrail(CustomGuardrail):
|
|||
except ImportError as exc: # pragma: no cover
|
||||
raise RuntimeError(
|
||||
"The PrivAiTe guardrail requires the 'privaite' package. "
|
||||
"Install it with: pip install 'privaite>=0.2.4'"
|
||||
"Install it with: pip install 'privaite>=0.4.2'"
|
||||
) from exc
|
||||
|
||||
if self.block_entities and "block_entities" not in PIIConfig.model_fields:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue