Conversation
Summary:
`llama-stack-client` was broken.
```
llama-stack-client
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniconda/base/envs/llama-stack/bin/llama-stack-client", line 5, in <module>
from llama_stack_client.lib.cli.llama_stack_client import main
File "/opt/homebrew/Caskroom/miniconda/base/envs/llama-stack/lib/python3.10/site-packages/llama_stack_client/lib/cli/llama_stack_client.py", line 23, in <module>
from .post_training import post_training
File "/opt/homebrew/Caskroom/miniconda/base/envs/llama-stack/lib/python3.10/site-packages/llama_stack_client/lib/cli/post_training/__init__.py", line 7, in <module>
from .post_training import post_training
File "/opt/homebrew/Caskroom/miniconda/base/envs/llama-stack/lib/python3.10/site-packages/llama_stack_client/lib/cli/post_training/post_training.py", line 12, in <module>
from llama_stack_client.types.post_training_supervised_fine_tune_params import (
ImportError: cannot import name 'AlgorithmConfig' from 'llama_stack_client.types.post_training_supervised_fine_tune_params' (/opt/homebrew/Caskroom/miniconda/base/envs/llama-stack/lib/python3.10/site-packages/llama_stack_client/types/post_training_supervised_fine_tune_params.py)
(llama-stack) [25-01-28 16:18:41 1738109921]
```
Test Plan:
* Checkout this rev
* pip install .
* Run the command ``
Output
```
llama-stack-client
Usage: llama-stack-client [OPTIONS] COMMAND [ARGS]...
Welcome to the LlamaStackClient CLI
Options:
--version Show the version and exit.
--endpoint TEXT Llama Stack distribution endpoint
--api-key TEXT Llama Stack distribution API key
--config TEXT Path to config file
--help Show this message and exit.
Commands:
configure Configure Llama Stack Client CLI
datasets Query details about available datasets on Llama...
eval Run evaluation tasks
eval_tasks Query details about available eval tasks type on...
inference Query details about available inference endpoints on...
inspect Query details about available versions on Llama...
models Query details about available models on Llama Stack...
post_training Query details about available post_training...
providers Query details about available providers on Llama...
scoring_functions Manage scoring functions
shields Query details about available safety shields on...
toolgroups Query details about available toolgroups on Llama...
vector_dbs Query details about available vector dbs on...
```
ashwinb
reviewed
Jan 29, 2025
ashwinb
approved these changes
Jan 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
llama-stack-clientwas broken.Test Plan:
Output