mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 23:51:00 +00:00
fix
This commit is contained in:
parent
9eb692f25a
commit
751c6af302
2 changed files with 2 additions and 4 deletions
|
@ -191,8 +191,6 @@ class StackBuild(Subcommand):
|
||||||
|
|
||||||
from llama_stack.distribution.build import ImageType
|
from llama_stack.distribution.build import ImageType
|
||||||
|
|
||||||
from llama_stack.distribution.utils.serialize import EnumEncoder
|
|
||||||
|
|
||||||
apis = list(build_config.distribution_spec.providers.keys())
|
apis = list(build_config.distribution_spec.providers.keys())
|
||||||
run_config = StackRunConfig(
|
run_config = StackRunConfig(
|
||||||
built_at=datetime.now(),
|
built_at=datetime.now(),
|
||||||
|
@ -250,7 +248,7 @@ class StackBuild(Subcommand):
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from llama_stack.distribution.build import build_image, ImageType
|
from llama_stack.distribution.build import build_image
|
||||||
from llama_stack.distribution.utils.config_dirs import DISTRIBS_BASE_DIR
|
from llama_stack.distribution.utils.config_dirs import DISTRIBS_BASE_DIR
|
||||||
|
|
||||||
# save build.yaml spec for building same distribution again
|
# save build.yaml spec for building same distribution again
|
||||||
|
|
|
@ -39,7 +39,7 @@ class StackConfigure(Subcommand):
|
||||||
def _run_stack_configure_cmd(self, args: argparse.Namespace) -> None:
|
def _run_stack_configure_cmd(self, args: argparse.Namespace) -> None:
|
||||||
self.parser.error(
|
self.parser.error(
|
||||||
"""
|
"""
|
||||||
DEPRECATED! llama stack configure has been deprecated.
|
DEPRECATED! llama stack configure has been deprecated.
|
||||||
Please use llama stack run --config <path/to/run.yaml> instead. You may find example run.yaml in ./llamas_stack/templates
|
Please use llama stack run --config <path/to/run.yaml> instead. You may find example run.yaml in ./llamas_stack/templates
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue