From cde7514c3d28e6d52f272614e9957208c344dde5 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Thu, 25 Jan 2024 11:23:18 -0500 Subject: [PATCH] feat(server): include llama-cpp-python version in openapi spec --- llama_cpp/server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_cpp/server/app.py b/llama_cpp/server/app.py index fed0a6d..368022c 100644 --- a/llama_cpp/server/app.py +++ b/llama_cpp/server/app.py @@ -118,7 +118,7 @@ def create_app( app = FastAPI( middleware=middleware, title="🦙 llama.cpp Python API", - version="0.0.1", + version=llama_cpp.__version__, ) app.add_middleware( CORSMiddleware,