Skip to content

Commit 1f39fd7

Browse files
committed
Do not use default image tag from cli
1 parent f627563 commit 1f39fd7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llmstack/cli.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def signal_handler(sig, frame):
254254
default="ghcr.io/trypromptly/",
255255
help=argparse.SUPPRESS,
256256
)
257-
parent_parser.add_argument("--tag", default="latest", help=argparse.SUPPRESS)
257+
parent_parser.add_argument("--tag", help=argparse.SUPPRESS)
258258

259259
parser = argparse.ArgumentParser(
260260
description="LLMStack: No-code platform to build AI agents", parents=[parent_parser]
@@ -297,7 +297,9 @@ def signal_handler(sig, frame):
297297

298298
# Set registry and tag
299299
llmstack_environment["REGISTRY"] = args.registry
300-
llmstack_environment["TAG"] = args.tag
300+
301+
if args.tag:
302+
llmstack_environment["TAG"] = args.tag
301303

302304
start(llmstack_environment)
303305

0 commit comments

Comments
 (0)