mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 02:32:40 +00:00
Updated server.py
Removed 3 unnecessary FastAPI entries
This commit is contained in:
parent
3d4e81641f
commit
ec9a319034
1 changed files with 1 additions and 4 deletions
|
@ -412,9 +412,6 @@ def main(args: Optional[argparse.Namespace] = None):
|
||||||
docs_url="/docs",
|
docs_url="/docs",
|
||||||
redoc_url="/redoc",
|
redoc_url="/redoc",
|
||||||
openapi_url="/openapi.json",
|
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"):
|
if not os.environ.get("LLAMA_STACK_DISABLE_VERSION_CHECK"):
|
||||||
app.add_middleware(ClientVersionMiddleware)
|
app.add_middleware(ClientVersionMiddleware)
|
||||||
|
@ -526,4 +523,4 @@ def extract_path_params(route: str) -> List[str]:
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue