mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-07 02:58:21 +00:00
benchmark->evaluation routing?
This commit is contained in:
parent
e23531c9d0
commit
d1b44c1251
1 changed files with 10 additions and 2 deletions
|
@ -43,13 +43,21 @@ def builtin_automatically_routed_apis() -> List[AutoRoutedApiInfo]:
|
||||||
routing_table_api=Api.tool_groups,
|
routing_table_api=Api.tool_groups,
|
||||||
router_api=Api.tool_runtime,
|
router_api=Api.tool_runtime,
|
||||||
),
|
),
|
||||||
|
AutoRoutedApiInfo(
|
||||||
|
routing_table_api=Api.benchmarks,
|
||||||
|
router_api=Api.evaluation,
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def providable_apis() -> List[Api]:
|
def providable_apis() -> List[Api]:
|
||||||
routing_table_apis = {x.routing_table_api for x in builtin_automatically_routed_apis()}
|
routing_table_apis = {
|
||||||
|
x.routing_table_api for x in builtin_automatically_routed_apis()
|
||||||
|
}
|
||||||
return [
|
return [
|
||||||
api for api in Api if api not in routing_table_apis and api not in [Api.inspect, Api.providers, Api.benchmarks]
|
api
|
||||||
|
for api in Api
|
||||||
|
if api not in routing_table_apis and api not in [Api.inspect, Api.providers]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue