feat(server): include llama-cpp-python version in openapi spec
This commit is contained in:
parent
2588f34a22
commit
cde7514c3d
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ def create_app(
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
middleware=middleware,
|
middleware=middleware,
|
||||||
title="🦙 llama.cpp Python API",
|
title="🦙 llama.cpp Python API",
|
||||||
version="0.0.1",
|
version=llama_cpp.__version__,
|
||||||
)
|
)
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
CORSMiddleware,
|
CORSMiddleware,
|
||||||
|
|
Loading…
Reference in a new issue