mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-12 18:09:42 +00:00
don't print url for localhost if remote tunnel
This commit is contained in:
parent
7968bdebbb
commit
9342071f9c
1 changed files with 3 additions and 2 deletions
|
@ -3003,8 +3003,9 @@ def main(launch_args,start_server=True):
|
||||||
if start_server:
|
if start_server:
|
||||||
if args.remotetunnel:
|
if args.remotetunnel:
|
||||||
setuptunnel()
|
setuptunnel()
|
||||||
# Flush stdout for previous win32 issue so the client can see output.
|
else:
|
||||||
print(f"======\nPlease connect to custom endpoint at {epurl}", flush=True)
|
# Flush stdout for previous win32 issue so the client can see output.
|
||||||
|
print(f"======\nPlease connect to custom endpoint at {epurl}", flush=True)
|
||||||
asyncio.run(RunServerMultiThreaded(args.host, args.port, embedded_kailite, embedded_kcpp_docs))
|
asyncio.run(RunServerMultiThreaded(args.host, args.port, embedded_kailite, embedded_kcpp_docs))
|
||||||
else:
|
else:
|
||||||
# Flush stdout for previous win32 issue so the client can see output.
|
# Flush stdout for previous win32 issue so the client can see output.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue