mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-08 19:10:56 +00:00
apis_to_serve -> apis
This commit is contained in:
parent
59302a86df
commit
60dead6196
7 changed files with 38 additions and 48 deletions
|
|
@ -154,7 +154,7 @@ class StackConfigure(Subcommand):
|
|||
config = StackRunConfig(
|
||||
built_at=datetime.now(),
|
||||
image_name=image_name,
|
||||
apis_to_serve=[],
|
||||
apis=[],
|
||||
providers={},
|
||||
models=[],
|
||||
shields=[],
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ class StackRun(Subcommand):
|
|||
|
||||
import pkg_resources
|
||||
import yaml
|
||||
from termcolor import cprint
|
||||
|
||||
from llama_stack.distribution.build import ImageType
|
||||
from llama_stack.distribution.utils.config_dirs import BUILDS_BASE_DIR
|
||||
|
|
@ -75,6 +76,7 @@ class StackRun(Subcommand):
|
|||
)
|
||||
return
|
||||
|
||||
cprint(f"Using config `{config_file}`", "green")
|
||||
with open(config_file, "r") as f:
|
||||
config = StackRunConfig(**yaml.safe_load(f))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue