From 4b7ddea52776b45d6c6657511ce2de93fa0eb577 Mon Sep 17 00:00:00 2001 From: cthomas Date: Sun, 16 Mar 2025 16:00:46 -0700 Subject: [PATCH] fix: uvicorn run args bug (#1308) --- letta/server/rest_api/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/letta/server/rest_api/app.py b/letta/server/rest_api/app.py index 4acfb591..363eca32 100644 --- a/letta/server/rest_api/app.py +++ b/letta/server/rest_api/app.py @@ -326,7 +326,7 @@ def start_server( print(f"▶ Server running at: https://{host or 'localhost'}:{port or REST_DEFAULT_PORT}") print(f"▶ View using ADE at: https://app.letta.com/development-servers/local/dashboard\n") uvicorn.run( - app, + "letta.server.rest_api.app:app", host=host or "localhost", port=port or REST_DEFAULT_PORT, workers=settings.uvicorn_workers, @@ -345,7 +345,7 @@ def start_server( print(f"▶ View using ADE at: https://app.letta.com/development-servers/local/dashboard\n") uvicorn.run( - app, + "letta.server.rest_api.app:app", host=host or "localhost", port=port or REST_DEFAULT_PORT, workers=settings.uvicorn_workers,