mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-06 04:34:57 +00:00
Update safety implementation inside agents
This commit is contained in:
parent
82ddd851c8
commit
d6a41d98d2
8 changed files with 17 additions and 67 deletions
|
@ -25,7 +25,7 @@ class BedrockSafetyAdapter(Safety):
|
|||
|
||||
async def run_shield(
|
||||
self,
|
||||
shield: ShieldType,
|
||||
shield: str,
|
||||
messages: List[Message],
|
||||
) -> RunShieldResponse:
|
||||
# clients will set api_keys by doing something like:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue