Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: correct typos in agent component filename and templates (#13930)

Ricardo-M-Lc13f8856a1e3
diff --git a/agent/component/varaiable_aggregator.py b/agent/component/variable_aggregator.py
similarity index 100%
rename from agent/component/varaiable_aggregator.py
rename to agent/component/variable_aggregator.py
diff --git a/agent/templates/customer_feedback_dispatcher.json b/agent/templates/customer_feedback_dispatcher.json
index 3830e1bed5..b31e7888ef 100644
--- a/agent/templates/customer_feedback_dispatcher.json
+++ b/agent/templates/customer_feedback_dispatcher.json
@@ -107,7 +107,7 @@
"component_name": "Message",
"params": {
"content": [
- "Customer's original review: {begin@customer_review}\n\nFinale review category is: \n{VariableAggregator:FlatBerriesRest@ReviewCategory}"
+ "Customer's original review: {begin@customer_review}\n\nFinal review category is: \n{VariableAggregator:FlatBerriesRest@ReviewCategory}"
]
}
},
@@ -590,7 +590,7 @@
"data": {
"form": {
"content": [
- "Customer's original review: {begin@customer_review}\n\nFinale review category is: \n{VariableAggregator:FlatBerriesRest@ReviewCategory}"
+ "Customer's original review: {begin@customer_review}\n\nFinal review category is: \n{VariableAggregator:FlatBerriesRest@ReviewCategory}"
]
},
"label": "Message",
diff --git a/agent/templates/cv_analysis_and_candidate_evaluation.json b/agent/templates/cv_analysis_and_candidate_evaluation.json
index 5549f3226f..9b5de6534a 100644
--- a/agent/templates/cv_analysis_and_candidate_evaluation.json
+++ b/agent/templates/cv_analysis_and_candidate_evaluation.json
@@ -94,7 +94,7 @@
"type": "integer"
},
"item": {
- "type": "unkown"
+ "type": "unknown"
}
}
}
@@ -252,7 +252,7 @@
"type": "integer"
},
"item": {
- "type": "unkown"
+ "type": "unknown"
}
}
},
diff --git a/web/src/pages/agent/constant/index.tsx b/web/src/pages/agent/constant/index.tsx
index 628a5870e9..490c1c42c3 100644
--- a/web/src/pages/agent/constant/index.tsx
+++ b/web/src/pages/agent/constant/index.tsx
@@ -416,7 +416,7 @@ export const initialIterationValues = {
export const initialIterationStartValues = {
outputs: {
item: {
- type: 'unkown',
+ type: 'unknown',
},
index: {
type: 'integer',