llama-stack-mirror/llama_stack/providers/registry/models.py
2024-09-18 10:00:29 -07:00

25 lines
775 B
Python

# 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,
],
)
]