mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 12:21:52 +00:00
wip
This commit is contained in:
parent
45a2f4809c
commit
18b3dbcacc
5 changed files with 239 additions and 0 deletions
25
llama_stack/providers/registry/models.py
Normal file
25
llama_stack/providers/registry/models.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
|
||||
from typing import List
|
||||
|
||||
from llama_stack.distribution.datatypes import * # noqa: F403
|
||||
|
||||
|
||||
def available_providers() -> List[ProviderSpec]:
|
||||
return [
|
||||
InlineProviderSpec(
|
||||
api=Api.models,
|
||||
provider_id="meta-reference",
|
||||
pip_packages=[],
|
||||
module="llama_stack.providers.impls.meta_reference.models",
|
||||
config_class="llama_stack.providers.impls.meta_reference.models.MetaReferenceImplConfig",
|
||||
api_dependencies=[
|
||||
Api.inference,
|
||||
Api.safety,
|
||||
],
|
||||
)
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue