mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-15 00:07:28 +00:00
API: Add clarification and cleanup autodocs
It's possible to override parts of the example JSON to give proper examples of values. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
9
main.py
9
main.py
@@ -51,7 +51,14 @@ from logger import init_logger
|
||||
|
||||
logger = init_logger(__name__)
|
||||
|
||||
app = FastAPI()
|
||||
app = FastAPI(
|
||||
title="TabbyAPI",
|
||||
summary="An OAI compatible exllamav2 API that's both lightweight and fast",
|
||||
description=(
|
||||
"This docs page is not meant to send requests! Please use a service "
|
||||
"like Postman or a frontend UI."
|
||||
),
|
||||
)
|
||||
|
||||
# Globally scoped variables. Undefined until initalized in main
|
||||
MODEL_CONTAINER: Optional[ModelContainer] = None
|
||||
|
||||
Reference in New Issue
Block a user