Skip to content

Commit

Permalink
fix: update print statement on server (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacker authored Mar 21, 2024
1 parent 64ac714 commit cbf71e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions memgpt/server/rest_api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def start_server(
assert isinstance(ssl_certfile, str) and os.path.exists(ssl_certfile), ssl_certfile
assert isinstance(ssl_keyfile, str) and os.path.exists(ssl_keyfile), ssl_keyfile
print(
f"Running: uvicorn {app}:app --host {host or 'localhost'} --port {port or REST_DEFAULT_PORT} --ssl-keyfile {ssl_keyfile} --ssl-certfile {ssl_certfile}"
f"Running: uvicorn server:app --host {host or 'localhost'} --port {port or REST_DEFAULT_PORT} --ssl-keyfile {ssl_keyfile} --ssl-certfile {ssl_certfile}"
)
uvicorn.run(
app,
Expand All @@ -229,7 +229,7 @@ def start_server(
)
else:
# Start the subprocess in a new session
print(f"Running: uvicorn {app}:app --host {host or 'localhost'} --port {port or REST_DEFAULT_PORT}")
print(f"Running: uvicorn server:app --host {host or 'localhost'} --port {port or REST_DEFAULT_PORT}")
uvicorn.run(
app,
host=host or "localhost",
Expand Down

0 comments on commit cbf71e2

Please # to comment.