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.

correct typos . (#25717)

湛露先生0bbf4fb66ad1
diff --git a/api/core/app/app_config/entities.py b/api/core/app/app_config/entities.py
index 98ef6eb0c29..533cb37f8fd 100644
--- a/api/core/app/app_config/entities.py
+++ b/api/core/app/app_config/entities.py
@@ -173,7 +173,7 @@ class ModelConfig(BaseModel):
class Condition(BaseModel):
"""
- Conditon detail
+ Condition detail
"""
name: str
diff --git a/api/core/rag/entities/metadata_entities.py b/api/core/rag/entities/metadata_entities.py
index 723229a332f..b07d760cf48 100644
--- a/api/core/rag/entities/metadata_entities.py
+++ b/api/core/rag/entities/metadata_entities.py
@@ -30,7 +30,7 @@ SupportedComparisonOperator = Literal[
class Condition(BaseModel):
"""
- Conditon detail
+ Condition detail
"""
name: str
diff --git a/api/core/workflow/nodes/knowledge_retrieval/entities.py b/api/core/workflow/nodes/knowledge_retrieval/entities.py
index 460290f0ea7..8aa6a5016f4 100644
--- a/api/core/workflow/nodes/knowledge_retrieval/entities.py
+++ b/api/core/workflow/nodes/knowledge_retrieval/entities.py
@@ -91,7 +91,7 @@ SupportedComparisonOperator = Literal[
class Condition(BaseModel):
"""
- Conditon detail
+ Condition detail
"""
name: str
diff --git a/api/core/workflow/nodes/list_operator/node.py b/api/core/workflow/nodes/list_operator/node.py
index 5d3b07a8f3f..8a6d3d0c5ab 100644
--- a/api/core/workflow/nodes/list_operator/node.py
+++ b/api/core/workflow/nodes/list_operator/node.py
@@ -178,7 +178,7 @@ class ListOperatorNode(BaseNode):
result = list(filter(filter_func, variable.value))
variable = variable.model_copy(update={"value": result})
else:
- raise AssertionError("this statment should be unreachable.")
+ raise AssertionError("this statement should be unreachable.")
return variable
def _apply_order(self, variable: _SUPPORTED_TYPES_ALIAS) -> _SUPPORTED_TYPES_ALIAS:
@@ -191,7 +191,7 @@ class ListOperatorNode(BaseNode):
)
variable = variable.model_copy(update={"value": result})
else:
- raise AssertionError("this statement should be unreachable")
+ raise AssertionError("this statement should be unreachable.")
return variable