mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-06 02:30:58 +00:00
Merge 5c04d2e0a7 into sapling-pr-archive-ehhuang
This commit is contained in:
commit
fbd68f9588
8 changed files with 189 additions and 129 deletions
|
|
@ -174,7 +174,9 @@ class StackApp(FastAPI):
|
|||
|
||||
@asynccontextmanager
|
||||
async def lifespan(app: StackApp):
|
||||
logger.info("Starting up")
|
||||
server_version = parse_version("llama-stack")
|
||||
|
||||
logger.info(f"Starting up Llama Stack server (version: {server_version})")
|
||||
assert app.stack is not None
|
||||
app.stack.create_registry_refresh_task()
|
||||
yield
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue