mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-06 04:34:57 +00:00
ApiSurface -> Api
This commit is contained in:
parent
7890921e5c
commit
125fdb1b2a
13 changed files with 76 additions and 87 deletions
|
@ -6,13 +6,13 @@
|
|||
|
||||
from typing import List
|
||||
|
||||
from llama_toolchain.distribution.datatypes import Adapter, ApiSurface, SourceAdapter
|
||||
from llama_toolchain.distribution.datatypes import Adapter, Api, SourceAdapter
|
||||
|
||||
|
||||
def available_safety_adapters() -> List[Adapter]:
|
||||
return [
|
||||
SourceAdapter(
|
||||
api_surface=ApiSurface.safety,
|
||||
api=Api.safety,
|
||||
adapter_id="meta-reference",
|
||||
pip_packages=[
|
||||
"codeshield",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue