Skip to content

Commit

Permalink
more printouts
Browse files Browse the repository at this point in the history
  • Loading branch information
LostRuins committed Dec 2, 2023
1 parent 495bb3a commit 1c422f4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions koboldcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1917,6 +1917,10 @@ def tunnel_reader():
found = re.findall(pattern, line)
for x in found:
tunneloutput = x

print(f"Your remote Kobold API can be found at {tunneloutput}/api/")
print(f"Your remote OpenAI Compatible API can be found at {tunneloutput}/v1/")
print("======\n")
print(f"Your remote tunnel is ready, please connect to {tunneloutput}")
return

Expand Down Expand Up @@ -2178,8 +2182,9 @@ def main(launch_args,start_server=True):
epurl = f"http://localhost:{args.port}"
else:
epurl = f"http://{args.host}:{args.port}"
print(f"Starting Kobold API on port {args.port} at {epurl}/api/")
print(f"Starting OpenAI Compatible API on port {args.port} at {epurl}/v1/")
if not args.remotetunnel:
print(f"Starting Kobold API on port {args.port} at {epurl}/api/")
print(f"Starting OpenAI Compatible API on port {args.port} at {epurl}/v1/")

if args.launch:
try:
Expand Down

0 comments on commit 1c422f4

Please sign in to comment.