mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 23:51:00 +00:00
minor updates
This commit is contained in:
parent
04a2965967
commit
39f0c5f544
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ class ShieldRunnerMixin:
|
|||
responses = await asyncio.gather(
|
||||
*[
|
||||
self.safety_api.run_shield(
|
||||
identifier=identifier,
|
||||
shield_id=identifier,
|
||||
messages=messages,
|
||||
)
|
||||
for identifier in identifiers
|
||||
|
|
|
@ -80,7 +80,7 @@ class MockInferenceAPI:
|
|||
|
||||
class MockSafetyAPI:
|
||||
async def run_shield(
|
||||
self, shield_identifier: str, messages: List[Message]
|
||||
self, shield_id: str, messages: List[Message]
|
||||
) -> RunShieldResponse:
|
||||
return RunShieldResponse(violation=None)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue