Skip to content

Commit 3c525f4

Browse files
committed
fix: add isError in handleError
1 parent 064ca88 commit 3c525f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/tool.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export abstract class ToolBase {
118118
{
119119
type: "text",
120120
text: `Error running ${this.name}: ${error instanceof Error ? error.message : String(error)}`,
121+
isError: true,
121122
},
122123
],
123124
};

0 commit comments

Comments
 (0)