feat: v1 desktop ui (#586)

Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Shubham Naik
2025-01-10 11:57:33 -08:00
committed by GitHub
parent a51bcceba3
commit e2b4c76df0
2 changed files with 3 additions and 4 deletions

View File

@@ -244,10 +244,6 @@ def create_application() -> "FastAPI":
# / static files
mount_static_files(app)
@app.on_event("startup")
def on_startup():
generate_openapi_schema(app)
@app.on_event("shutdown")
def on_shutdown():
global server

View File

@@ -59,6 +59,9 @@ class ModelSettings(BaseSettings):
openllm_auth_type: Optional[str] = None
openllm_api_key: Optional[str] = None
# disable openapi schema generation
disable_schema_generation: bool = False
cors_origins = [
"http://letta.localhost",