Skip to content

Commit 5ce31ec

Browse files
authored
fix: add isError in handleError (#107)
1 parent 3f10a2a commit 5ce31ec

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)