Skip to content

Commit acfe348

Browse files
committed
Merge branch 'cte/core-package' into cte/use-core-package
2 parents 46fe6e0 + 8051064 commit acfe348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/types/src/custom-tool.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* ```
2222
*/
2323

24-
import type { ZodType, infer as ZodInfer, z } from "zod/v4"
24+
import type { ZodType, z } from "zod/v4"
2525

2626
import { TaskLike } from "./task.js"
2727

@@ -93,7 +93,7 @@ export interface SerializedCustomToolDefinition {
9393
export interface TypedCustomToolDefinition<T extends CustomToolParametersSchema>
9494
extends Omit<CustomToolDefinition, "execute" | "parameters"> {
9595
parameters?: T
96-
execute: (args: ZodInfer<T>, context: CustomToolContext) => Promise<string>
96+
execute: (args: z.infer<T>, context: CustomToolContext) => Promise<string>
9797
}
9898

9999
/**

0 commit comments

Comments
 (0)