mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 04:42:25 +00:00
kill older tech-debt, make get_provider_impl async
This commit is contained in:
parent
38a9c119df
commit
a66074a10e
6 changed files with 31 additions and 21 deletions
|
|
@ -117,7 +117,7 @@ class CommonRoutingTableImpl(RoutingTable):
|
|||
for p in self.impls_by_provider_id.values():
|
||||
await p.shutdown()
|
||||
|
||||
def get_provider_impl(self, routing_key: str, provider_id: str | None = None) -> Any:
|
||||
async def get_provider_impl(self, routing_key: str, provider_id: str | None = None) -> Any:
|
||||
from .benchmarks import BenchmarksRoutingTable
|
||||
from .datasets import DatasetsRoutingTable
|
||||
from .models import ModelsRoutingTable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue