@@ -31,109 +31,11 @@ public enum PromptEnum {
31
31
AGENT_STUCK_ERROR ("AGENT_STUCK_ERROR" , MessageType .SYSTEM , PromptType .AGENT , true , "agent/stuck-error.txt" ),
32
32
SUMMARY_PLAN_TEMPLATE ("SUMMARY_PLAN_TEMPLATE" , MessageType .SYSTEM , PromptType .PLANNING , true ,
33
33
"workflow/summary-plan-template.txt" ),
34
- MAPREDUCE_TOOL_DESCRIPTION ("MAPREDUCE_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .AGENT , true ,
35
- "tool/mapreduce-tool-description.txt" ),
36
- MAPREDUCE_TOOL_PARAMETERS ("MAPREDUCE_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .AGENT , true ,
37
- "tool/mapreduce-tool-parameters.txt" ),
38
34
AGENT_DEBUG_DETAIL_OUTPUT ("AGENT_DEBUG_DETAIL_OUTPUT" , MessageType .SYSTEM , PromptType .AGENT , true ,
39
35
"agent/debug-detail-output.txt" ),
40
36
AGENT_NORMAL_OUTPUT ("AGENT_NORMAL_OUTPUT" , MessageType .SYSTEM , PromptType .AGENT , true , "agent/normal-output.txt" ),
41
37
AGENT_PARALLEL_TOOL_CALLS_RESPONSE ("AGENT_PARALLEL_TOOL_CALLS_RESPONSE" , MessageType .SYSTEM , PromptType .AGENT , true ,
42
- "agent/parallel-tool-calls-response.txt" ),
43
- FORM_INPUT_TOOL_DESCRIPTION ("FORM_INPUT_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .AGENT , true ,
44
- "tool/form-input-tool-description.txt" ),
45
- FORM_INPUT_TOOL_PARAMETERS ("FORM_INPUT_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .AGENT , true ,
46
- "tool/form-input-tool-parameters.txt" ),
47
-
48
- // Bash Tool
49
- BASH_TOOL_DESCRIPTION ("BASH_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION , true ,
50
- "tool/bash-tool-description.txt" ),
51
- BASH_TOOL_PARAMETERS ("BASH_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
52
- "tool/bash-tool-parameters.txt" ),
53
-
54
- // Text File Operator Tool
55
- TEXTFILEOPERATOR_TOOL_DESCRIPTION ("TEXTFILEOPERATOR_TOOL_DESCRIPTION" , MessageType .SYSTEM ,
56
- PromptType .TOOL_DESCRIPTION , true , "tool/textfileoperator-tool-description.txt" ),
57
- TEXTFILEOPERATOR_TOOL_PARAMETERS ("TEXTFILEOPERATOR_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER ,
58
- true , "tool/textfileoperator-tool-parameters.txt" ),
59
-
60
- // Browser Use Tool
61
- BROWSER_USE_TOOL_DESCRIPTION ("BROWSER_USE_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION , true ,
62
- "tool/browser-use-tool-description.txt" ),
63
- BROWSER_USE_TOOL_PARAMETERS ("BROWSER_USE_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
64
- "tool/browser-use-tool-parameters.txt" ),
65
-
66
- // Python Execute Tool
67
- PYTHON_EXECUTE_TOOL_DESCRIPTION ("PYTHON_EXECUTE_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION ,
68
- true , "tool/python-execute-tool-description.txt" ),
69
- PYTHON_EXECUTE_TOOL_PARAMETERS ("PYTHON_EXECUTE_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER ,
70
- true , "tool/python-execute-tool-parameters.txt" ),
71
-
72
- // Database Use Tool
73
- DATABASE_USE_TOOL_DESCRIPTION ("DATABASE_USE_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION ,
74
- true , "tool/database-use-tool-description.txt" ),
75
- DATABASE_USE_TOOL_PARAMETERS ("DATABASE_USE_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
76
- "tool/database-use-tool-parameters.txt" ),
77
-
78
- // Cron Tool
79
- CRON_TOOL_TOOL_DESCRIPTION ("CRON_TOOL_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION , true ,
80
- "tool/cron-tool-tool-description.txt" ),
81
- CRON_TOOL_TOOL_PARAMETERS ("CRON_TOOL_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
82
- "tool/cron-tool-tool-parameters.txt" ),
83
-
84
- // Inner Storage Content Tool
85
- INNER_STORAGE_CONTENT_TOOL_TOOL_DESCRIPTION ("INNER_STORAGE_CONTENT_TOOL_TOOL_DESCRIPTION" , MessageType .SYSTEM ,
86
- PromptType .TOOL_DESCRIPTION , true , "tool/inner-storage-content-tool-tool-description.txt" ),
87
- INNER_STORAGE_CONTENT_TOOL_TOOL_PARAMETERS ("INNER_STORAGE_CONTENT_TOOL_TOOL_PARAMETERS" , MessageType .SYSTEM ,
88
- PromptType .TOOL_PARAMETER , true , "tool/inner-storage-content-tool-tool-parameters.txt" ),
89
-
90
- // Doc Loader Tool
91
- DOC_LOADER_TOOL_DESCRIPTION ("DOC_LOADER_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION , true ,
92
- "tool/doc-loader-tool-description.txt" ),
93
- DOC_LOADER_TOOL_PARAMETERS ("DOC_LOADER_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
94
- "tool/doc-loader-tool-parameters.txt" ),
95
-
96
- // File Merge Tool
97
- FILE_MERGE_TOOL_TOOL_DESCRIPTION ("FILE_MERGE_TOOL_TOOL_DESCRIPTION" , MessageType .SYSTEM ,
98
- PromptType .TOOL_DESCRIPTION , true , "tool/file-merge-tool-description.txt" ),
99
- FILE_MERGE_TOOL_TOOL_PARAMETERS ("FILE_MERGE_TOOL_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER ,
100
- true , "tool/file-merge-tool-parameters.txt" ),
101
-
102
- // Data Split Tool
103
- DATA_SPLIT_TOOL_DESCRIPTION ("DATA_SPLIT_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION , true ,
104
- "tool/data-split-tool-description.txt" ),
105
- DATA_SPLIT_TOOL_PARAMETERS ("DATA_SPLIT_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
106
- "tool/data-split-tool-parameters.txt" ),
107
-
108
- // Map Output Tool
109
- MAP_OUTPUT_TOOL_DESCRIPTION ("MAP_OUTPUT_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION , true ,
110
- "tool/map-output-tool-description.txt" ),
111
- MAP_OUTPUT_TOOL_PARAMETERS ("MAP_OUTPUT_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
112
- "tool/map-output-tool-parameters.txt" ),
113
-
114
- // Reduce Operation Tool
115
- REDUCE_OPERATION_TOOL_DESCRIPTION ("REDUCE_OPERATION_TOOL_DESCRIPTION" , MessageType .SYSTEM ,
116
- PromptType .TOOL_DESCRIPTION , true , "tool/reduce-operation-tool-description.txt" ),
117
- REDUCE_OPERATION_TOOL_PARAMETERS ("REDUCE_OPERATION_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER ,
118
- true , "tool/reduce-operation-tool-parameters.txt" ),
119
-
120
- // Finalize Tool
121
- FINALIZE_TOOL_DESCRIPTION ("FINALIZE_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION , true ,
122
- "tool/finalize-tool-description.txt" ),
123
- FINALIZE_TOOL_PARAMETERS ("FINALIZE_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
124
- "tool/finalize-tool-parameters.txt" ),
125
-
126
- // Terminate Tool
127
- TERMINATE_TOOL_DESCRIPTION ("TERMINATE_TOOL_DESCRIPTION" , MessageType .SYSTEM , PromptType .TOOL_DESCRIPTION , true ,
128
- "tool/terminate-tool-description.txt" ),
129
- TERMINATE_TOOL_PARAMETERS ("TERMINATE_TOOL_PARAMETERS" , MessageType .SYSTEM , PromptType .TOOL_PARAMETER , true ,
130
- "tool/terminate-tool-parameters.txt" ),
131
-
132
- // PPT Generator Tool
133
- PPTGENERATOROPERATOR_TOOL_DESCRIPTION ("PPTGENERATOROPERATOR_TOOL_DESCRIPTION" , MessageType .SYSTEM ,
134
- PromptType .TOOL_DESCRIPTION , true , "tool/ppt-generator-operator-tool-description.txt" ),
135
- PPTGENERATOROPERATOR_TOOL_PARAMETERS ("PPTGENERATOROPERATOR_TOOL_PARAMETERS" , MessageType .SYSTEM ,
136
- PromptType .TOOL_PARAMETER , true , "tool/ppt-generator-operator-tool-parameters.txt" );
38
+ "agent/parallel-tool-calls-response.txt" );
137
39
138
40
private String promptName ;
139
41
0 commit comments