chore: drop ade flag (#2185)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user