fix: uvicorn run args bug (#1308)

This commit is contained in:
cthomas
2025-03-16 16:00:46 -07:00
committed by GitHub
parent 93a480b1f4
commit 4b7ddea527

View File

@@ -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,