slight upgrade to CLI

This commit is contained in:
Ashwin Bharambe 2024-10-06 18:02:47 -07:00 committed by Ashwin Bharambe
parent 1550187cd8
commit 099a95b614
4 changed files with 23 additions and 21 deletions

View file

@ -71,9 +71,7 @@ class StackConfigure(Subcommand):
conda_dir = (
Path(os.path.expanduser("~/.conda/envs")) / f"llamastack-{args.config}"
)
output = subprocess.check_output(
["bash", "-c", "conda info --json -a"]
)
output = subprocess.check_output(["bash", "-c", "conda info --json"])
conda_envs = json.loads(output.decode("utf-8"))["envs"]
for x in conda_envs: