mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-08 19:10:56 +00:00
slight upgrade to CLI
This commit is contained in:
parent
1550187cd8
commit
099a95b614
4 changed files with 23 additions and 21 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue