mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-19 19:30:05 +00:00
formatting
This commit is contained in:
parent
069d877210
commit
b311dcd143
22 changed files with 82 additions and 128 deletions
|
@ -11,10 +11,10 @@ from llama_models.llama3_1.api.datatypes import ToolParamDefinition
|
|||
|
||||
from llama_models.schema_utils import json_schema_type
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
from llama_toolchain.common.deployment_types import RestAPIExecutionConfig
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class BuiltinShield(Enum):
|
||||
|
|
|
@ -29,5 +29,4 @@ class Safety(Protocol):
|
|||
async def run_shields(
|
||||
self,
|
||||
request: RunShieldRequest,
|
||||
) -> RunShieldResponse:
|
||||
...
|
||||
) -> RunShieldResponse: ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue