Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: drop ade flag (#2185)

Shubham Naik932e5448dc59
diff --git a/letta/cli/cli.py b/letta/cli/cli.py
index 2e18dcb98..e7f811e9f 100644
--- a/letta/cli/cli.py
+++ b/letta/cli/cli.py
@@ -51,7 +51,6 @@ def server(
port: Annotated[Optional[int], typer.Option(help="Port to run the server on")] = None,
host: Annotated[Optional[str], typer.Option(help="Host to run the server on (default to localhost)")] = None,
debug: Annotated[bool, typer.Option(help="Turn debugging output on")] = False,
- ade: Annotated[bool, typer.Option(help="Allows remote access")] = False,
secure: Annotated[bool, typer.Option(help="Adds simple security access")] = False,
):
"""Launch a Letta server process"""
diff --git a/letta/server/rest_api/app.py b/letta/server/rest_api/app.py
index ab2c340ef..4db832366 100644
--- a/letta/server/rest_api/app.py
+++ b/letta/server/rest_api/app.py
@@ -144,9 +144,8 @@ def create_application() -> "FastAPI":
debug=True,
)
- if (os.getenv("LETTA_SERVER_ADE") == "true") or "--ade" in sys.argv:
- settings.cors_origins.append("https://app.letta.com")
- print(f"▶ View using ADE at: https://app.letta.com/development-servers/local/dashboard")
+ settings.cors_origins.append("https://app.letta.com")
+ print(f"▶ View using ADE at: https://app.letta.com/development-servers/local/dashboard")
if (os.getenv("LETTA_SERVER_SECURE") == "true") or "--secure" in sys.argv:
print(f"▶ Using secure mode with password: {random_password}")