Significantly upgrade the interactive configuration experience

This commit is contained in:
Ashwin Bharambe 2024-10-05 11:12:46 -07:00 committed by Ashwin Bharambe
parent 8d157a8197
commit 5a7b01d292
7 changed files with 217 additions and 156 deletions

View file

@ -91,8 +91,6 @@ class MetaReferenceSafetyImpl(Safety, RoutableProvider):
model=cfg.model,
inference_api=self.inference_api,
excluded_categories=cfg.excluded_categories,
disable_input_check=cfg.disable_input_check,
disable_output_check=cfg.disable_output_check,
)
elif typ == MetaReferenceShieldType.jailbreak_shield:
from .shields import JailbreakShield