Updated server.py

Removed 3 unnecessary FastAPI entries
This commit is contained in:
Peter Double 2025-03-30 18:17:27 -04:00 committed by GitHub
parent 3d4e81641f
commit ec9a319034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -412,9 +412,6 @@ def main(args: Optional[argparse.Namespace] = None):
docs_url="/docs",
redoc_url="/redoc",
openapi_url="/openapi.json",
title="Llama Stack API",
description="API for Llama Stack",
version="0.1.9"
)
if not os.environ.get("LLAMA_STACK_DISABLE_VERSION_CHECK"):
app.add_middleware(ClientVersionMiddleware)
@ -526,4 +523,4 @@ def extract_path_params(route: str) -> List[str]:
if __name__ == "__main__":
main()
main()