| 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 llama_models.schema_utils import json_schema_type |
| 8 | from pydantic import BaseModel, Field |
| 9 | |
| 10 | |
| 11 | @json_schema_type |
| 12 | class SqliteControlPlaneConfig(BaseModel): |
| 13 | db_path: str = Field( |
| 14 | description="File path for the sqlite database", |
| 15 | ) |
| 16 | table_name: str = Field( |
| 17 | default="llamastack_control_plane", |
| 18 | description="Table into which all the keys will be placed", |
| 19 | ) |