chore: drop ade flag (#2185)

Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Shubham Naik
2024-12-07 10:47:32 -08:00
committed by GitHub
parent e461515407
commit 932e5448dc
2 changed files with 2 additions and 4 deletions

View File

@@ -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}")