mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 12:21:52 +00:00
fix safety shield -> shield_type
This commit is contained in:
parent
75357df02d
commit
98da002b4c
4 changed files with 43 additions and 44 deletions
|
@ -40,5 +40,5 @@ class RunShieldResponse(BaseModel):
|
|||
class Safety(Protocol):
|
||||
@webmethod(route="/safety/run_shield")
|
||||
async def run_shield(
|
||||
self, shield: str, messages: List[Message], params: Dict[str, Any] = None
|
||||
self, shield_type: str, messages: List[Message], params: Dict[str, Any] = None
|
||||
) -> RunShieldResponse: ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue