mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-15 04:22:38 +00:00
fix: remove broken tracing middleware
This commit is contained in:
parent
597d405e13
commit
5f827fd4ed
4 changed files with 18 additions and 86 deletions
|
|
@ -359,6 +359,12 @@ class Stack:
|
|||
await refresh_registry_once(impls)
|
||||
self.impls = impls
|
||||
|
||||
def get_impls(self) -> dict[Api, Any]:
|
||||
"""safely access impls without raising an exception"""
|
||||
if self.impls is None:
|
||||
return {}
|
||||
return self.impls
|
||||
|
||||
def create_registry_refresh_task(self):
|
||||
assert self.impls is not None, "Must call initialize() before starting"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue