diff --git a/src/core/prompts/responses.ts b/src/core/prompts/responses.ts index a72de0a9ae..b4591bc422 100644 --- a/src/core/prompts/responses.ts +++ b/src/core/prompts/responses.ts @@ -16,8 +16,8 @@ export const formatResponse = { toolError: (error?: string, toolName?: string) => { const title = toolName - ? t("tools:errors.toolCallError", { toolName, defaultValue: `Tool call error: ${toolName}` }) - : t("tools:errors.toolExecutionError", { defaultValue: "Tool execution error" }) + ? t("tools:errors.toolCallError", { toolName, defaultValue: `Tool Call Error: ${toolName}` }) + : t("tools:errors.toolExecutionError", { defaultValue: "Tool Execution Error" }) return `${title}\n\n${error}\n` }, diff --git a/src/i18n/locales/en/tools.json b/src/i18n/locales/en/tools.json index 4f24c6ae84..3e683c481c 100644 --- a/src/i18n/locales/en/tools.json +++ b/src/i18n/locales/en/tools.json @@ -29,8 +29,8 @@ "changesRejected": "Changes were rejected by the user." }, "errors": { - "toolCallError": "Tool call error: {{toolName}}", - "toolExecutionError": "Tool execution error", + "toolCallError": "Tool Call Error: {{toolName}}", + "toolExecutionError": "Tool Execution Error", "fileNotFound": "File Not Found", "parseError": "Parse error", "commandTimeout": "Command timeout",