benchmark->evaluation routing?

This commit is contained in:
Xi Yan 2025-03-19 09:55:18 -07:00
parent e23531c9d0
commit d1b44c1251

View file

@ -43,13 +43,21 @@ def builtin_automatically_routed_apis() -> List[AutoRoutedApiInfo]:
routing_table_api=Api.tool_groups,
router_api=Api.tool_runtime,
),
AutoRoutedApiInfo(
routing_table_api=Api.benchmarks,
router_api=Api.evaluation,
),
]
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 [
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]
]