| 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. |
| 2 | # All rights reserved. |
| 3 | # |
| 4 | # This source code is licensed under the terms described in the LICENSE file in |
| 5 | # the root directory of this source tree. |
| 6 | |
| 7 | from typing import List |
| 8 | |
| 9 | from llama_stack.distribution.datatypes import * # noqa: F403 |
| 10 | |
| 11 | |
| 12 | def available_providers() -> List[ProviderSpec]: |
| 13 | return [ |
| 14 | InlineProviderSpec( |
| 15 | api=Api.control_plane, |
| 16 | provider_id="sqlite", |
| 17 | pip_packages=["aiosqlite"], |
| 18 | module="llama_stack.providers.impls.sqlite.control_plane", |
| 19 | config_class="llama_stack.providers.impls.sqlite.control_plane.SqliteControlPlaneConfig", |
| 20 | ), |
| 21 | remote_provider_spec( |
| 22 | Api.control_plane, |
| 23 | AdapterSpec( |
| 24 | adapter_id="redis", |
| 25 | pip_packages=["redis"], |
| 26 | module="llama_stack.providers.adapters.control_plane.redis", |
| 27 | ), |
| 28 | ), |
| 29 | ] |