feat: add segments max number limit for SegmentApi.post (#27745)

This commit is contained in:
Ponder
2025-11-04 10:27:58 +08:00
committed by GitHub
parent c8e9edc024
commit b610cf9a11
5 changed files with 17 additions and 0 deletions

View File

@@ -1351,6 +1351,9 @@ SWAGGER_UI_PATH=/swagger-ui.html
# Set to false to export dataset IDs as plain text for easier cross-environment import
DSL_EXPORT_ENCRYPT_DATASET_ID=true
# Maximum number of segments for dataset segments API (0 for unlimited)
DATASET_MAX_SEGMENTS_PER_REQUEST=0
# Celery schedule tasks configuration
ENABLE_CLEAN_EMBEDDING_CACHE_TASK=false
ENABLE_CLEAN_UNUSED_DATASETS_TASK=false