From 87f1c235030aee1c4200328f0386c7bdcb13f2bf Mon Sep 17 00:00:00 2001 From: qvalentin Date: Thu, 21 Nov 2024 14:17:15 +0100 Subject: [PATCH] fix: docs --- backend/chainlit/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/chainlit/server.py b/backend/chainlit/server.py index 21c5c5d23d..5118f544a7 100644 --- a/backend/chainlit/server.py +++ b/backend/chainlit/server.py @@ -892,7 +892,7 @@ def validate_file_upload(file: UploadFile): ValueError: If the file is not allowed. """ if config.features.spontaneous_file_upload is None: - """Default to allowing all file types""" + """Default for a missing config is to allow the fileupload without any restrictions""" return if config.features.spontaneous_file_upload.enabled is False: raise ValueError("File upload is not enabled")