feat(server): include llama-cpp-python version in openapi spec

This commit is contained in:
Andrei Betlen 2024-01-25 11:23:18 -05:00
parent 2588f34a22
commit cde7514c3d

View file

@ -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,