mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
feat: Add support for memory-only kvstore
This commit is contained in:
parent
7e48cc48bc
commit
d32d8ec94b
3 changed files with 181 additions and 48 deletions
|
@ -53,7 +53,7 @@ class SqliteKVStoreConfig(CommonConfig):
|
|||
type: Literal["sqlite"] = KVStoreType.sqlite.value
|
||||
db_path: str = Field(
|
||||
default=(RUNTIME_BASE_DIR / "kvstore.db").as_posix(),
|
||||
description="File path for the sqlite database",
|
||||
description="File path for the sqlite database. Use ':memory:' for an in-memory database",
|
||||
)
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue