File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ def create_app() -> StackApp:
367367 if not os .environ .get ("LLAMA_STACK_DISABLE_VERSION_CHECK" ):
368368 app .add_middleware (ClientVersionMiddleware )
369369
370- impls = app .stack .get_impls ()
370+ impls = app .stack .impls
371371
372372 if config .server .auth :
373373 logger .info (f"Enabling authentication with provider: { config .server .auth .provider_config .type .value } " )
Original file line number Diff line number Diff line change @@ -343,12 +343,6 @@ async def initialize(self):
343343 await refresh_registry_once (impls )
344344 self .impls = impls
345345
346- def get_impls (self ) -> dict [Api , Any ]:
347- """safely access impls without raising an exception"""
348- if self .impls is None :
349- return {}
350- return self .impls
351-
352346 def create_registry_refresh_task (self ):
353347 assert self .impls is not None , "Must call initialize() before starting"
354348
You can’t perform that action at this time.
0 commit comments