Skip to content

Commit 854c2ad

Browse files
fix: misleading help text for 'llama stack build' and 'llama stack run' (meta-llama#1910)
# What does this PR do? current text for 'llama stack build' and 'llama stack run' says that if no argument is passed to '--image-name' that the active Conda environment will be used in reality, the active enviroment is used whether it is from conda, virtualenv, etc. ## Test Plan N/A ## Documentation N/A Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
1 parent 0751a96 commit 854c2ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/source/distributions/building_distro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ options:
231231
-h, --help show this help message and exit
232232
--port PORT Port to run the server on. It can also be passed via the env var LLAMA_STACK_PORT. (default: 8321)
233233
--image-name IMAGE_NAME
234-
Name of the image to run. Defaults to the current conda environment (default: None)
234+
Name of the image to run. Defaults to the current environment (default: None)
235235
--disable-ipv6 Disable IPv6 support (default: False)
236236
--env KEY=VALUE Environment variables to pass to the server in KEY=VALUE format. Can be specified multiple times. (default: [])
237237
--tls-keyfile TLS_KEYFILE

llama_stack/cli/stack/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _add_arguments(self):
5757
type=str,
5858
help=textwrap.dedent(
5959
f"""[for image-type={"|".join(e.value for e in ImageType)}] Name of the conda or virtual environment to use for
60-
the build. If not specified, currently active Conda environment will be used if found.
60+
the build. If not specified, currently active environment will be used if found.
6161
"""
6262
),
6363
default=None,

llama_stack/cli/stack/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _add_arguments(self):
4545
"--image-name",
4646
type=str,
4747
default=os.environ.get("CONDA_DEFAULT_ENV"),
48-
help="Name of the image to run. Defaults to the current conda environment",
48+
help="Name of the image to run. Defaults to the current environment",
4949
)
5050
self.parser.add_argument(
5151
"--disable-ipv6",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy