We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95afc2 commit 4339da2Copy full SHA for 4339da2
src/core/tools/types.ts
@@ -8,7 +8,7 @@ export type AskApproval = (
8
progressStatus?: ToolProgressStatus,
9
) => Promise<boolean>
10
11
-export type HandleError = (action: string, error: Error) => void
+export type HandleError = (action: string, error: Error) => Promise<void>
12
13
export type PushToolResult = (content: ToolResponse) => void
14
0 commit comments