From 3c525f4f14783fe536a10e8e456c5747515a04a8 Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Thu, 24 Apr 2025 09:46:23 +0100 Subject: [PATCH] fix: add isError in handleError --- src/tools/tool.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/tool.ts b/src/tools/tool.ts index 5cbb8ac2..a37c7224 100644 --- a/src/tools/tool.ts +++ b/src/tools/tool.ts @@ -118,6 +118,7 @@ export abstract class ToolBase { { type: "text", text: `Error running ${this.name}: ${error instanceof Error ? error.message : String(error)}`, + isError: true, }, ], };