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
sb.append(" #search: <args> - Search on the internet (prioritize Wiki, then general search if not found). Use precise keywords, avoid natural language for Wiki queries.\n");
139
138
sb.append(" Add 'widely' keyword to force general web search. Example: #search: widely Minecraft latest version\n");
140
-
sb.append(" #get_preset: <file> - Get preset file content. Prioritize reading relevant presets when handling tasks.\n");
139
+
sb.append(" #getpreset: <file> - Get preset file content. Prioritize reading relevant presets when handling tasks.\n");
141
140
sb.append(" #choose: <A>,<B>,<C>... - Present multiple options for user to choose. Suitable for scenarios with multiple implementation approaches.\n\n");
142
141
143
142
// 【执行类工具】
@@ -169,7 +168,7 @@ public String getBaseSystemPrompt(org.bukkit.entity.Player player) {
sb.append("1. **Check Preset Availability First**: BEFORE calling #get_preset, you MUST check if the preset exists in the Available Presets list below.\n");
255
+
sb.append("1. **Check Preset Availability First**: BEFORE calling #getpreset, you MUST check if the preset exists in the Available Presets list below.\n");
267
256
sb.append(" - Available presets: ").append(String.join(", ", plugin.getWorkspaceIndexer().getIndexedPresets())).append("\n");
268
-
sb.append(" - If preset exists: Call #get_preset: <plugin_name>.txt to read the preset.\n");
257
+
sb.append(" - If preset exists: Call #getpreset: <plugin_name>.txt to read the preset.\n");
269
258
sb.append(" - If preset does NOT exist: You MUST use #search to search for documentation. DO NOT guess commands.\n");
270
-
sb.append(" - Example: Player asks about LuckPerms → Check list → 'luckperms.txt' exists → Call #get_preset: luckperms.txt\n");
259
+
sb.append(" - Example: Player asks about LuckPerms → Check list → 'luckperms.txt' exists → Call #getpreset: luckperms.txt\n");
271
260
sb.append(" - Example: Player asks about SomeUnknownPlugin → Check list → Not found → Call #search: SomeUnknownPlugin command usage\n\n");
272
261
273
262
sb.append("2. **Never Guess Commands**: If no preset exists and you haven't searched, you MUST NOT execute commands. Always search first.\n\n");
0 commit comments