forked from phoenix-oss/llama-stack-mirror
disable version check optionally
This commit is contained in:
parent
38009631bc
commit
cb41848a2a
1 changed files with 2 additions and 1 deletions
|
@ -342,6 +342,7 @@ def main():
|
|||
|
||||
app = FastAPI(lifespan=lifespan)
|
||||
app.add_middleware(TracingMiddleware)
|
||||
if not os.environ.get("LLAMA_STACK_DISABLE_VERSION_CHECK"):
|
||||
app.add_middleware(ClientVersionMiddleware)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue