mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-16 20:32:38 +00:00
22 lines
697 B
Python
22 lines
697 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 pydantic import BaseModel, Field
|
|
|
|
from llama_stack.providers.utils.kvstore import KVStoreConfig
|
|
from llama_stack.providers.utils.kvstore.config import SqliteKVStoreConfig
|
|
|
|
|
|
class MetaReferenceAgentsImplConfig(BaseModel):
|
|
persistence_store: KVStoreConfig = Field(default=SqliteKVStoreConfig())
|
|
|
|
@classmethod
|
|
def sample_dict(cls):
|
|
return {
|
|
"persistence_store": SqliteKVStoreConfig.sample_dict(
|
|
db_name="agents_store.db"
|
|
),
|
|
}
|