From 6d8a42206a262a0ab039343d8c807de3f04c8f43 Mon Sep 17 00:00:00 2001 From: siage Date: Thu, 15 May 2025 18:02:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20gemini-2.5-pro-prev?= =?UTF-8?q?iew-05-06=20=E6=9C=83=E8=B7=B3=E9=81=8E=E5=9F=B7=E8=A1=8C?= =?UTF-8?q?=E4=BB=BB=E5=8B=99=E7=9B=B4=E6=8E=A5=E5=AE=8C=E6=88=90=E7=9A=84?= =?UTF-8?q?=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/prompts/templates_en/executeTask/index.md | 3 ++- src/prompts/templates_en/toolsDescription/executeTask.md | 2 +- src/prompts/templates_zh/executeTask/index.md | 3 ++- src/prompts/templates_zh/toolsDescription/executeTask.md | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/prompts/templates_en/executeTask/index.md b/src/prompts/templates_en/executeTask/index.md index 14ceeac..74efd36 100644 --- a/src/prompts/templates_en/executeTask/index.md +++ b/src/prompts/templates_en/executeTask/index.md @@ -35,4 +35,5 @@ - **Code Quality** - Comply with coding standards, handle exceptions - **Performance Considerations** - Pay attention to algorithm efficiency and resource usage -Begin executing the task according to instructions, and use the "verify_task" tool for verification after completion. +Begin executing the task according to the instructions. After completing the task, call the verify_task tool to perform verification. +**Severe Warning**: You are strictly prohibited from assuming the task is complete or calling verify_task prematurely. You must use edit_file or any other available tools necessary to actually complete the task. diff --git a/src/prompts/templates_en/toolsDescription/executeTask.md b/src/prompts/templates_en/toolsDescription/executeTask.md index 6ab2cae..19db100 100644 --- a/src/prompts/templates_en/toolsDescription/executeTask.md +++ b/src/prompts/templates_en/toolsDescription/executeTask.md @@ -1 +1 @@ -Execute specific tasks according to the predefined plan, ensuring the output of each step meets quality standards +Retrieve the instructional guidance for a specific task. You will complete the programming task based on this guidance. You must strictly follow the feedback and instructions provided by the tool — it is designed to **guide you toward perfect task completion, not to execute the task for you**. Severe Warning: Calling the executeTask tool does not mean you have completed the task. You must follow the step-by-step guidance returned by the tool to complete the task properly. diff --git a/src/prompts/templates_zh/executeTask/index.md b/src/prompts/templates_zh/executeTask/index.md index c8bac73..e0c2e22 100644 --- a/src/prompts/templates_zh/executeTask/index.md +++ b/src/prompts/templates_zh/executeTask/index.md @@ -35,4 +35,5 @@ - **代碼質量** - 符合編碼標準,處理異常情況 - **效能考量** - 注意算法效率和資源使用 -開始根據指示執行任務,執行完成後請直接使用「verify_task」工具進行驗證。 +現在開始根據指示執行任務,執行完成後調用「verify_task」工具來進行驗證。 +**嚴重警告**:禁止假設任務已完成與直接調用「verify_task」,你必須透過「edit_file」或其他一切可以幫助你完成任務的工具來完成任務 diff --git a/src/prompts/templates_zh/toolsDescription/executeTask.md b/src/prompts/templates_zh/toolsDescription/executeTask.md index 18a9aff..4e5c5d4 100644 --- a/src/prompts/templates_zh/toolsDescription/executeTask.md +++ b/src/prompts/templates_zh/toolsDescription/executeTask.md @@ -1 +1 @@ -按照預定義計劃執行特定任務,確保每個步驟的輸出符合質量標準 +取得特定任務的指導操作,你將根據任務指導來完成編程任務,你必須嚴格遵守工具的回饋指導內容,他將幫助你完美完成任務,**切記該工具不是幫你執行任務而是指導你如何完成任務**,嚴重警告:呼叫完 executeTask 工具不代表你已經完任務,你必須根據工具回傳的指導內容按照步驟來完成