mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
Avoid importing a lot of stuff
This commit is contained in:
parent
4ae8c63a2b
commit
fe460ba103
1 changed files with 2 additions and 2 deletions
|
@ -22,9 +22,9 @@ class StackListProviders(Subcommand):
|
|||
self.parser.set_defaults(func=self._run_providers_list_cmd)
|
||||
|
||||
def _add_arguments(self):
|
||||
from llama_stack.distribution.distribution import stack_apis
|
||||
from llama_stack.distribution.datatypes import Api
|
||||
|
||||
api_values = [a.value for a in stack_apis()]
|
||||
api_values = [a.value for a in Api]
|
||||
self.parser.add_argument(
|
||||
"api",
|
||||
type=str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue