fix: fix file number limit error (#17848)

This commit is contained in:
Good Wood
2025-04-11 15:26:26 +08:00
committed by GitHub
parent f04d52c044
commit cc08451eb8
5 changed files with 11 additions and 5 deletions

View File

@@ -3,6 +3,8 @@ from configs import dify_config
HIDDEN_VALUE = "[__HIDDEN__]"
UUID_NIL = "00000000-0000-0000-0000-000000000000"
DEFAULT_FILE_NUMBER_LIMITS = 3
IMAGE_EXTENSIONS = ["jpg", "jpeg", "png", "webp", "gif", "svg"]
IMAGE_EXTENSIONS.extend([ext.upper() for ext in IMAGE_EXTENSIONS])