ref: Increase max file upload size to 1024 MB (#9276)

Increase max file upload size to 1024 MB

Updated the default value of max_file_size_upload from 100 MB to 1024 MB in the Settings class to allow larger file uploads.

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Edwin Jose 2025-08-01 10:30:55 -04:00 committed by GitHub
commit b18c58e836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -220,7 +220,7 @@ class Settings(BaseSettings):
"""The interval in ms at which Langflow will auto save flows."""
health_check_max_retries: int = 5
"""The maximum number of retries for the health check."""
max_file_size_upload: int = 100
max_file_size_upload: int = 1024
"""The maximum file size for the upload in MB."""
deactivate_tracing: bool = False
"""If set to True, tracing will be deactivated."""