mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 07:14:20 +00:00
Merge 36ba47b934
into cbe89d2bdd
This commit is contained in:
commit
3aefbb197e
11 changed files with 1448 additions and 1 deletions
|
@ -28,10 +28,11 @@ class StackListProviders(Subcommand):
|
|||
return [api.value for api in providable_apis()]
|
||||
|
||||
def _add_arguments(self):
|
||||
choices = self.providable_apis
|
||||
self.parser.add_argument(
|
||||
"api",
|
||||
type=str,
|
||||
choices=self.providable_apis,
|
||||
choices=choices if choices else None,
|
||||
nargs="?",
|
||||
help="API to list providers for. List all if not specified.",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue