chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动

演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-11-18 13:59:25 +08:00
1 parent 60158935f4
commit 6519682885
15831 files changed
+3063428

No files matched your search

@@ -0,0 +1,22 @@
# ------------------------------------------------------------------
# Isolated KnowledgeFS remote-document parser.
#
# The same service handles PDF, Office, mail, EPUB, ODT, and RTF requests. Large PDFs additionally
# use bounded page groups: a child request contains at most SPLIT_SIZE pages, so it partitions
# locally instead of recursively splitting again. The paired KnowledgeFS client keeps a global
# remote-request limit and nests structurally or byte-heavy inputs inside the heavy-document gate.
#
# KnowledgeFS owns durable attempt retries. Keep the child retry loop disabled so one parser
# failure cannot multiply retries at both layers.
# PDF geometry, not compressed bytes, determines raster memory. The client preflights at 350 DPI;
# do not raise PDF_RENDER_DPI above 350 or raise/disable the 25-million-pixel per-page guard.
# These are provider process settings: this pinned HTTP API does not accept a pdf_image_dpi
# request parameter. Oversized pages must be resized or tiled before import.
# ------------------------------------------------------------------
PDF_RENDER_DPI=350
PDF_RENDER_MAX_PIXELS_PER_PAGE=25000000
UNSTRUCTURED_PARALLEL_MODE_ENABLED=true
UNSTRUCTURED_PARALLEL_MODE_URL=http://127.0.0.1:8000/general/v0/general
UNSTRUCTURED_PARALLEL_MODE_SPLIT_SIZE=6
UNSTRUCTURED_PARALLEL_MODE_THREADS=3
UNSTRUCTURED_PARALLEL_RETRY_ATTEMPTS=0