mirror of
https://github.com/langgenius/dify.git
synced 2026-03-26 00:38:03 +08:00
Made-with: Cursor # Conflicts: # .devcontainer/post_create_command.sh # api/commands.py # api/core/agent/cot_agent_runner.py # api/core/agent/fc_agent_runner.py # api/core/app/apps/workflow_app_runner.py # api/core/app/entities/queue_entities.py # api/core/app/entities/task_entities.py # api/core/workflow/workflow_entry.py # api/dify_graph/enums.py # api/dify_graph/graph/graph.py # api/dify_graph/graph_events/node.py # api/dify_graph/model_runtime/entities/message_entities.py # api/dify_graph/node_events/node.py # api/dify_graph/nodes/agent/agent_node.py # api/dify_graph/nodes/base/__init__.py # api/dify_graph/nodes/base/entities.py # api/dify_graph/nodes/base/node.py # api/dify_graph/nodes/llm/entities.py # api/dify_graph/nodes/llm/node.py # api/dify_graph/nodes/tool/tool_node.py # api/pyproject.toml # api/uv.lock # web/app/components/base/avatar/__tests__/index.spec.tsx # web/app/components/base/avatar/index.tsx # web/app/components/base/date-and-time-picker/time-picker/__tests__/index.spec.tsx # web/app/components/base/file-uploader/file-from-link-or-local/index.tsx # web/app/components/base/prompt-editor/index.tsx # web/app/components/datasets/metadata/edit-metadata-batch/modal.tsx # web/app/components/header/account-dropdown/index.spec.tsx # web/app/components/share/text-generation/index.tsx # web/app/components/workflow/block-selector/tool/action-item.tsx # web/app/components/workflow/block-selector/trigger-plugin/action-item.tsx # web/app/components/workflow/hooks/use-edges-interactions.ts # web/app/components/workflow/hooks/use-nodes-interactions.ts # web/app/components/workflow/index.tsx # web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx # web/app/components/workflow/nodes/http/components/key-value/key-value-edit/index.tsx # web/app/components/workflow/nodes/human-input/components/delivery-method/recipient/email-item.tsx # web/app/components/workflow/nodes/loop/use-interactions.ts # web/contract/router.ts # web/env.ts # web/eslint-suppressions.json # web/package.json # web/pnpm-lock.yaml
95 lines
3.5 KiB
Plaintext
95 lines
3.5 KiB
Plaintext
# For production release, change this to PRODUCTION
|
|
NEXT_PUBLIC_DEPLOY_ENV=DEVELOPMENT
|
|
# The deployment edition, SELF_HOSTED
|
|
NEXT_PUBLIC_EDITION=SELF_HOSTED
|
|
# The base path for the application
|
|
NEXT_PUBLIC_BASE_PATH=
|
|
# The base URL of console application, refers to the Console base URL of WEB service if console domain is
|
|
# different from api or web app domain.
|
|
# example: http://cloud.dify.ai/console/api
|
|
NEXT_PUBLIC_API_PREFIX=http://localhost:5001/console/api
|
|
# The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from
|
|
# console or api domain.
|
|
# example: http://udify.app/api
|
|
NEXT_PUBLIC_PUBLIC_API_PREFIX=http://localhost:5001/api
|
|
# Dev-only Hono proxy targets. The frontend keeps requesting http://localhost:5001 directly.
|
|
HONO_PROXY_HOST=127.0.0.1
|
|
HONO_PROXY_PORT=5001
|
|
HONO_CONSOLE_API_PROXY_TARGET=
|
|
HONO_PUBLIC_API_PROXY_TARGET=
|
|
# When the frontend and backend run on different subdomains, set NEXT_PUBLIC_COOKIE_DOMAIN=1.
|
|
NEXT_PUBLIC_COOKIE_DOMAIN=
|
|
# WebSocket server URL.
|
|
NEXT_PUBLIC_SOCKET_URL=ws://localhost:5001
|
|
|
|
# The API PREFIX for MARKETPLACE
|
|
NEXT_PUBLIC_MARKETPLACE_API_PREFIX=https://marketplace.dify.ai/api/v1
|
|
# The URL for MARKETPLACE
|
|
NEXT_PUBLIC_MARKETPLACE_URL_PREFIX=https://marketplace.dify.ai
|
|
|
|
# SENTRY
|
|
NEXT_PUBLIC_SENTRY_DSN=
|
|
|
|
# Build-time source map switch for production build
|
|
# Priority: ENABLE_SOURCE_MAP > ENABLE_PROD_SOURCEMAP
|
|
ENABLE_SOURCE_MAP=
|
|
ENABLE_PROD_SOURCEMAP=false
|
|
|
|
# Disable Next.js Telemetry (https://nextjs.org/telemetry)
|
|
NEXT_TELEMETRY_DISABLED=1
|
|
|
|
# Disable Upload Image as WebApp icon default is false
|
|
NEXT_PUBLIC_UPLOAD_IMAGE_AS_ICON=false
|
|
|
|
# The timeout for the text generation in millisecond
|
|
NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS=60000
|
|
# Used by web/docker/entrypoint.sh to overwrite/export NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS at container startup (Docker only)
|
|
TEXT_GENERATION_TIMEOUT_MS=60000
|
|
|
|
# CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
|
|
NEXT_PUBLIC_CSP_WHITELIST=
|
|
# Default is not allow to embed into iframe to prevent Clickjacking: https://owasp.org/www-community/attacks/Clickjacking
|
|
NEXT_PUBLIC_ALLOW_EMBED=
|
|
|
|
# Allow rendering unsafe URLs which have "data:" scheme.
|
|
NEXT_PUBLIC_ALLOW_UNSAFE_DATA_SCHEME=false
|
|
|
|
# Github Access Token, used for invoking Github API
|
|
NEXT_PUBLIC_GITHUB_ACCESS_TOKEN=
|
|
# The maximum number of top-k value for RAG.
|
|
NEXT_PUBLIC_TOP_K_MAX_VALUE=10
|
|
|
|
# The maximum number of tokens for segmentation
|
|
NEXT_PUBLIC_INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=4000
|
|
# Used by web/docker/entrypoint.sh to overwrite/export NEXT_PUBLIC_INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH at container startup (Docker only)
|
|
INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=4000
|
|
|
|
# Maximum loop count in the workflow
|
|
NEXT_PUBLIC_LOOP_NODE_MAX_COUNT=100
|
|
|
|
# Maximum number of tools in the agent/workflow
|
|
NEXT_PUBLIC_MAX_TOOLS_NUM=10
|
|
|
|
# Maximum number of Parallelism branches in the workflow
|
|
NEXT_PUBLIC_MAX_PARALLEL_LIMIT=10
|
|
|
|
# The maximum number of iterations for agent setting
|
|
NEXT_PUBLIC_MAX_ITERATIONS_NUM=99
|
|
|
|
NEXT_PUBLIC_ENABLE_WEBSITE_JINAREADER=true
|
|
NEXT_PUBLIC_ENABLE_WEBSITE_FIRECRAWL=true
|
|
NEXT_PUBLIC_ENABLE_WEBSITE_WATERCRAWL=true
|
|
|
|
# Enable inline LaTeX rendering with single dollar signs ($...$)
|
|
# Default is false for security reasons to prevent conflicts with regular text
|
|
NEXT_PUBLIC_ENABLE_SINGLE_DOLLAR_LATEX=false
|
|
|
|
# The maximum number of tree node depth for workflow
|
|
NEXT_PUBLIC_MAX_TREE_DEPTH=50
|
|
|
|
# The API key of amplitude
|
|
NEXT_PUBLIC_AMPLITUDE_API_KEY=
|
|
|
|
# number of concurrency
|
|
NEXT_PUBLIC_BATCH_CONCURRENCY=5
|