Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jul 16, 2024
1 parent be01959 commit 8f52514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions langchain-core/src/runnables/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2805,7 +2805,7 @@ export class RunnablePick<
}

export interface RunnableToolLikeArgs<
RunInput extends z.ZodType | z.ZodString = z.ZodType,
RunInput extends z.ZodType = z.ZodType,
RunOutput = unknown
> extends Omit<RunnableBindingArgs<z.infer<RunInput>, RunOutput>, "config"> {
name: string;
Expand All @@ -2818,7 +2818,7 @@ export interface RunnableToolLikeArgs<
}

export class RunnableToolLike<
RunInput extends z.ZodType | z.ZodString = z.ZodType,
RunInput extends z.ZodType = z.ZodType,
RunOutput = unknown
> extends RunnableBinding<z.infer<RunInput>, RunOutput> {
name: string;
Expand Down

0 comments on commit 8f52514

Please sign in to comment.