mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
rename distribution_registry_store
This commit is contained in:
parent
46836657d3
commit
4301d2a9c2
2 changed files with 3 additions and 3 deletions
|
@ -139,7 +139,7 @@ One or more providers to use for each API. The same provider_type (e.g., meta-re
|
|||
can be instantiated multiple times (with different configs) if necessary.
|
||||
""",
|
||||
)
|
||||
distribution_registry_store: Optional[KVStoreConfig] = Field(
|
||||
metadata_store: Optional[KVStoreConfig] = Field(
|
||||
default=None,
|
||||
description="""
|
||||
Configuration for the persistence store used by the distribution registry. If not specified,
|
||||
|
|
|
@ -282,8 +282,8 @@ def main(
|
|||
|
||||
app = FastAPI()
|
||||
# instantiate kvstore for storing and retrieving distribution metadata
|
||||
if config.distribution_registry_store:
|
||||
dist_kvstore = asyncio.run(kvstore_impl(config.distribution_registry_store))
|
||||
if config.metadata_store:
|
||||
dist_kvstore = asyncio.run(kvstore_impl(config.metadata_store))
|
||||
else:
|
||||
dist_kvstore = asyncio.run(
|
||||
kvstore_impl(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue