Add STORAGE_TYPE configuration

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-01-26 19:01:48 -03:00
commit ce31a13010

View file

@ -63,6 +63,8 @@ class Settings(BaseSettings):
] = "https://api.langflow.store/flows/trigger/ec611a61-8460-4438-b187-a4f65e5559d4"
LIKE_WEBHOOK_URL: Optional[str] = "https://api.langflow.store/flows/trigger/64275852-ec00-45c1-984e-3bff814732da"
STORAGE_TYPE: str = "local"
@validator("CONFIG_DIR", pre=True, allow_reuse=True)
def set_langflow_dir(cls, value):
if not value: