feat: v1 desktop ui (#586)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user