Skip to content

Commit

Permalink
Init: Switch to display redoc endpoint
Browse files Browse the repository at this point in the history
Redoc looks much better than Swagger docs, so show that by default.
Both endpoints still exist.

Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Mar 8, 2024
1 parent fc55c6d commit 43c7139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def start_api(host: str, port: int):
"""Isolated function to start the API server"""

# 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"Chat completions: http://{host}:{port}/v1/chat/completions")

Expand Down

0 comments on commit 43c7139

Please sign in to comment.