Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed Build #1

Open
VikingDadMedic opened this issue Aug 14, 2023 · 0 comments
Open

Failed Build #1

VikingDadMedic opened this issue Aug 14, 2023 · 0 comments

Comments

@VikingDadMedic
Copy link

I keep getting an error when building

./app/api/chat/route.ts:119:7
Type error: Type 'WikipediaQueryRun' is not assignable to type 'DynamicTool | DynamicStructuredTool<ZodObject<any, any, any, any, { [x: string]: any; }>>'.
  Property 'func' is missing in type 'WikipediaQueryRun' but required in type 'DynamicTool'.

  117 |     // 14. Define available functions and tools
  118 |     const availableFunctions: Record<string, DynamicTool | DynamicStructuredTool> = {
> 119 |       wikipediaQuery,

Not sure why that's being thrown as soon as I clone and install.

Screenshot 2023-08-14 at 6 35 34 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant