mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-16 06:53:47 +00:00
address feedback
This commit is contained in:
parent
0eaca98229
commit
fe072620c8
9 changed files with 16 additions and 33 deletions
|
@ -47,9 +47,6 @@ class MetaReferenceSafetyImpl(Safety, ShieldsProtocolPrivate):
|
|||
if shield.shield_type not in self.available_shields:
|
||||
raise ValueError(f"Shield type {shield.shield_type} not supported")
|
||||
|
||||
async def supported_shield_types(self) -> List[ShieldType]:
|
||||
return SUPPORTED_SHIELDS
|
||||
|
||||
async def run_shield(
|
||||
self,
|
||||
shield_id: str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue