mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
remove api.endpoints imports
This commit is contained in:
parent
df489261ac
commit
c1078a60e7
3 changed files with 8 additions and 8 deletions
|
@ -9,12 +9,13 @@ from typing import List
|
|||
from llama_models.llama3.api.datatypes import Message, Role, UserMessage
|
||||
from termcolor import cprint
|
||||
|
||||
from llama_toolchain.safety.api.datatypes import (
|
||||
from llama_toolchain.safety.api import (
|
||||
OnViolationAction,
|
||||
RunShieldRequest,
|
||||
Safety,
|
||||
ShieldDefinition,
|
||||
ShieldResponse,
|
||||
)
|
||||
from llama_toolchain.safety.api.endpoints import RunShieldRequest, Safety
|
||||
|
||||
|
||||
class SafetyException(Exception): # noqa: N818
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue