mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-01 16:24:44 +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 {
|
return {
|
||||||
Api.models,
|
Api.models,
|
||||||
Api.shields,
|
Api.shields,
|
||||||
|
@ -82,7 +82,7 @@ def apis_provided_by_stack() -> set[Api]:
|
||||||
|
|
||||||
|
|
||||||
def providable_apis() -> list[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:
|
def _load_remote_provider_spec(spec_data: dict[str, Any], api: Api) -> ProviderSpec:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue