Minor message change
This commit is contained in:
parent
94b7177174
commit
c0233bb9d3
1 changed files with 3 additions and 3 deletions
|
@ -306,14 +306,14 @@ def run_server():
|
||||||
|
|
||||||
if shared.args.public_api:
|
if shared.args.public_api:
|
||||||
def on_start(public_url: str):
|
def on_start(public_url: str):
|
||||||
logger.info(f'OpenAI compatible API URL:\n\n{public_url}\n')
|
logger.info(f'OpenAI-compatible API URL:\n\n{public_url}\n')
|
||||||
|
|
||||||
_start_cloudflared(port, shared.args.public_api_id, max_attempts=3, on_start=on_start)
|
_start_cloudflared(port, shared.args.public_api_id, max_attempts=3, on_start=on_start)
|
||||||
else:
|
else:
|
||||||
if ssl_keyfile and ssl_certfile:
|
if ssl_keyfile and ssl_certfile:
|
||||||
logger.info(f'OpenAI compatible API URL:\n\nhttps://{server_addr}:{port}\n')
|
logger.info(f'OpenAI-compatible API URL:\n\nhttps://{server_addr}:{port}\n')
|
||||||
else:
|
else:
|
||||||
logger.info(f'OpenAI compatible API URL:\n\nhttp://{server_addr}:{port}\n')
|
logger.info(f'OpenAI-compatible API URL:\n\nhttp://{server_addr}:{port}\n')
|
||||||
|
|
||||||
if shared.args.api_key:
|
if shared.args.api_key:
|
||||||
logger.info(f'OpenAI API key:\n\n{shared.args.api_key}\n')
|
logger.info(f'OpenAI API key:\n\n{shared.args.api_key}\n')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue