mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-09 19:58:29 +00:00
Clean up
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
parent
111f31b60d
commit
7c1c5e7dff
1 changed files with 1 additions and 5 deletions
|
@ -56,11 +56,7 @@ def builtin_automatically_routed_apis() -> List[AutoRoutedApiInfo]:
|
||||||
|
|
||||||
def providable_apis() -> List[Api]:
|
def providable_apis() -> List[Api]:
|
||||||
routing_table_apis = set(x.routing_table_api for x in builtin_automatically_routed_apis())
|
routing_table_apis = set(x.routing_table_api for x in builtin_automatically_routed_apis())
|
||||||
print(routing_table_apis)
|
return [api for api in Api if api not in routing_table_apis and api != Api.inspect]
|
||||||
print("\n")
|
|
||||||
res = [api for api in Api if api not in routing_table_apis and api != Api.inspect]
|
|
||||||
print(res)
|
|
||||||
return res
|
|
||||||
|
|
||||||
|
|
||||||
def get_provider_registry() -> Dict[Api, Dict[str, ProviderSpec]]:
|
def get_provider_registry() -> Dict[Api, Dict[str, ProviderSpec]]:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue