diff --git a/src/prompts/templates_en/reflectTask/index.md b/src/prompts/templates_en/reflectTask/index.md index b8c525a..3c1037b 100644 --- a/src/prompts/templates_en/reflectTask/index.md +++ b/src/prompts/templates_en/reflectTask/index.md @@ -62,6 +62,9 @@ Choose subsequent actions based on the evaluation results: - **Consolidate when necessary**: If the modifications are minor or not complex, integrate them appropriately with other tasks to avoid excessive tasks due to over-simplification - **Repeated Calls**: If too many tasks or long content prevents "split_tasks" from working correctly, use the tool multiple times, submitting only a small portion of tasks each time - **Simplify Tasks**: If adding only one task at a time still doesn't work, consider further splitting or simplifying the task while retaining core content +- **JSON Format Note**: + - **No Comments**: JSON format itself does not support comments (e.g., `#` or `//`). Adding comments within JSON content will lead to parsing failures. + - **Escape Characters**: Special characters within JSON content, such as double quotes (`\"`) and backslashes (`\\\\`), must be properly escaped. Otherwise, they will be treated as illegal characters, causing parsing failures. **Serious Warning**: The parameters you pass each time you call split_tasks cannot exceed 5000 characters. If it exceeds 5000 characters, please call the tool multiple times to complete. diff --git a/src/prompts/templates_zh/reflectTask/index.md b/src/prompts/templates_zh/reflectTask/index.md index f509969..9cad664 100644 --- a/src/prompts/templates_zh/reflectTask/index.md +++ b/src/prompts/templates_zh/reflectTask/index.md @@ -62,6 +62,9 @@ - **必要時整合**:修改的內容不多或不複雜,可以適當於其他任務整合,避免任務過於簡單造成任務過多 - **重複調用**:如果任務太多或內容過長導致「split_tasks」工具無法正常運作時,請使用多次使用「split_tasks」工具,每次只提交一小部分任務 - **簡化任務**:如果每次只新增一個任務還是無法正常運作,請考慮再次拆分任務,或者簡化任務但必須保留核心內容 +- **JSON 格式注意**: + - **禁止註解**:JSON 格式本身不支援註解(例如 `#` 或 `//`),在 JSON 內容中添加註解會導致解析失敗。 + - **注意轉義**:JSON 內容中的特殊字元,例如雙引號 (`\"`)、反斜線 (`\\\\`) 等,必須進行正確的轉義處理,否則將視為非法字元,導致解析失敗。 **嚴重警告** 你每次呼叫 split_tasks 傳遞的參數不能超過 5000 個字,如果超出 5000 個字請多次呼叫工具完成