mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 04:17:32 +00:00
Move control plane to distribution server for now
This commit is contained in:
parent
099ac81bc7
commit
a0bf20f19a
14 changed files with 22 additions and 26 deletions
|
@ -1,29 +0,0 @@
|
|||
# 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.control_plane,
|
||||
provider_id="sqlite",
|
||||
pip_packages=["aiosqlite"],
|
||||
module="llama_stack.providers.impls.sqlite.control_plane",
|
||||
config_class="llama_stack.providers.impls.sqlite.control_plane.SqliteControlPlaneConfig",
|
||||
),
|
||||
remote_provider_spec(
|
||||
Api.control_plane,
|
||||
AdapterSpec(
|
||||
adapter_id="redis",
|
||||
pip_packages=["redis"],
|
||||
module="llama_stack.providers.adapters.control_plane.redis",
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue