mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-29 10:42:03 +00:00
Init: Switch to display redoc endpoint
Redoc looks much better than Swagger docs, so show that by default. Both endpoints still exist. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
2
main.py
2
main.py
@@ -669,7 +669,7 @@ def start_api(host: str, port: int):
|
|||||||
"""Isolated function to start the API server"""
|
"""Isolated function to start the API server"""
|
||||||
|
|
||||||
# TODO: Move OAI API to a separate folder
|
# TODO: Move OAI API to a separate folder
|
||||||
logger.info(f"Developer documentation: http://{host}:{port}/docs")
|
logger.info(f"Developer documentation: http://{host}:{port}/redoc")
|
||||||
logger.info(f"Completions: http://{host}:{port}/v1/completions")
|
logger.info(f"Completions: http://{host}:{port}/v1/completions")
|
||||||
logger.info(f"Chat completions: http://{host}:{port}/v1/chat/completions")
|
logger.info(f"Chat completions: http://{host}:{port}/v1/chat/completions")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user