mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
fix issue w/ enforcing api
This commit is contained in:
parent
21f2e9adf5
commit
07d45f2af3
3 changed files with 14 additions and 7 deletions
|
|
@ -288,6 +288,8 @@ def main(
|
|||
apis_to_serve = set(impls.keys())
|
||||
|
||||
for inf in builtin_automatically_routed_apis():
|
||||
if inf.router_api.value not in apis_to_serve:
|
||||
continue
|
||||
apis_to_serve.add(inf.routing_table_api.value)
|
||||
|
||||
apis_to_serve.add("inspect")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue