Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: remove the unused config INNER_API_KEY (#14780)

Bowen Liang561a3bf7a091
diff --git a/api/.env.example b/api/.env.example
index 39eb7ad766e..880453161e8 100644
--- a/api/.env.example
+++ b/api/.env.example
@@ -427,7 +427,6 @@ PLUGIN_DAEMON_URL=http://127.0.0.1:5002
PLUGIN_REMOTE_INSTALL_PORT=5003
PLUGIN_REMOTE_INSTALL_HOST=localhost
PLUGIN_MAX_PACKAGE_SIZE=15728640
-INNER_API_KEY=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1
INNER_API_KEY_FOR_PLUGIN=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1
# Marketplace configuration
diff --git a/api/configs/feature/__init__.py b/api/configs/feature/__init__.py
index 2af9729073c..c06269c1995 100644
--- a/api/configs/feature/__init__.py
+++ b/api/configs/feature/__init__.py
@@ -389,11 +389,6 @@ class InnerAPIConfig(BaseSettings):
default=False,
)
- INNER_API_KEY: Optional[str] = Field(
- description="API key for accessing the internal API",
- default=None,
- )
-
class LoggingConfig(BaseSettings):
"""
diff --git a/api/migrations/README b/api/migrations/README
index 0e048441597..220678df7ab 100644
--- a/api/migrations/README
+++ b/api/migrations/README
@@ -1 +1,2 @@
Single-database configuration for Flask.
+
diff --git a/api/tests/integration_tests/.env.example b/api/tests/integration_tests/.env.example
index 3c2ccb9dad4..9e40a8494d5 100644
--- a/api/tests/integration_tests/.env.example
+++ b/api/tests/integration_tests/.env.example
@@ -87,7 +87,6 @@ ZHINAO_API_KEY=
# Plugin configuration
PLUGIN_DAEMON_KEY=
PLUGIN_DAEMON_URL=
-INNER_API_KEY=
# Marketplace configuration
MARKETPLACE_API_URL=