You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/manus/planning/service/IPlanParameterMappingService.java
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,14 @@
23
23
importjava.util.Map;
24
24
25
25
/**
26
-
* Plan parameter mapping service interface providing functionality for handling parameter placeholders in plan templates
26
+
* Plan parameter mapping service interface providing functionality for handling parameter
27
+
* placeholders in plan templates
27
28
*/
28
29
publicinterfaceIPlanParameterMappingService {
29
30
30
31
/**
31
-
* Validate whether all parameter placeholders in plan template can be found in raw parameters. Throws detailed exception information if validation fails
32
+
* Validate whether all parameter placeholders in plan template can be found in raw
33
+
* parameters. Throws detailed exception information if validation fails
32
34
* @param planJson plan template JSON string
33
35
* @param rawParams raw parameters dictionary
34
36
* @return validation result containing list of missing parameters
Copy file name to clipboardExpand all lines: spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/manus/planning/service/PlanParameterMappingService.java
+18-9Lines changed: 18 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -27,14 +27,16 @@
27
27
importjava.util.regex.Pattern;
28
28
29
29
/**
30
-
* Plan parameter mapping service implementation class providing specific implementation for handling parameter placeholders in plan templates
30
+
* Plan parameter mapping service implementation class providing specific implementation
31
+
* for handling parameter placeholders in plan templates
errorMessage.append("❌ Parameter validation failed! The plan template contains the following parameter placeholders, but the raw parameters did not provide or provided mismatched values:\n\n");
279
+
errorMessage.append(
280
+
"❌ Parameter validation failed! The plan template contains the following parameter placeholders, but the raw parameters did not provide or provided mismatched values:\n\n");
0 commit comments