mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-25 22:42:03 +00:00
fix: stop image_name from being cast to an integer
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
This commit is contained in:
parent
5400a2e2b1
commit
9a5d47e085
4 changed files with 50 additions and 4 deletions
|
|
@ -47,6 +47,7 @@ from llama_stack.distribution.server.routes import (
|
|||
initialize_route_impls,
|
||||
)
|
||||
from llama_stack.distribution.stack import (
|
||||
cast_image_name_to_string,
|
||||
construct_stack,
|
||||
replace_env_vars,
|
||||
validate_env_pair,
|
||||
|
|
@ -439,7 +440,7 @@ def main(args: argparse.Namespace | None = None):
|
|||
logger.error(f"Error: {str(e)}")
|
||||
sys.exit(1)
|
||||
config = replace_env_vars(config_contents)
|
||||
config = StackRunConfig(**config)
|
||||
config = StackRunConfig(**cast_image_name_to_string(config))
|
||||
|
||||
# now that the logger is initialized, print the line about which type of config we are using.
|
||||
logger.info(log_line)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue