Skip to content

Commit cd3f3de

Browse files
gagikCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bc9e726 commit cd3f3de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ export abstract class ToolBase {
466466
});
467467
const toolResult = await this.handleError(
468468
error,
469-
args[0] as z.infer<z.ZodObject<typeof this.argsShape>>
469+
args as z.infer<z.ZodObject<typeof this.argsShape>>
470470
);
471471
this.emitToolEvent(args, { startTime, result: toolResult });
472472
return toolResult;

0 commit comments

Comments
 (0)