mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-31 16:01:46 +00:00
naming
This commit is contained in:
parent
226dc60775
commit
ba0fcdef06
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ def builtin_automatically_routed_apis() -> list[AutoRoutedApiInfo]:
|
|||
]
|
||||
|
||||
|
||||
def apis_provided_by_stack() -> set[Api]:
|
||||
def all_builtin_apis() -> set[Api]:
|
||||
return {
|
||||
Api.models,
|
||||
Api.shields,
|
||||
|
@ -82,7 +82,7 @@ def apis_provided_by_stack() -> set[Api]:
|
|||
|
||||
|
||||
def providable_apis() -> list[Api]:
|
||||
return [api for api in Api if api not in apis_provided_by_stack()]
|
||||
return [api for api in Api if api not in all_builtin_apis()]
|
||||
|
||||
|
||||
def _load_remote_provider_spec(spec_data: dict[str, Any], api: Api) -> ProviderSpec:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue