Skip to content

Conversation

@nearestnabors
Copy link
Contributor

@nearestnabors nearestnabors commented Jan 13, 2026

This one... is big.

Preview: link

  1. make sure you can reproduce a working app by following the instructions
  2. Should the instructions be simplified to "copy this file here and that file there" or do we want to provide the richer explanation of what's going on?

Note

Vercel AI SDK guide overhaul

  • New comprehensive guide at app/en/guides/agent-frameworks/vercelai/page.mdx for building a Next.js chatbot using Arcade tools (Gmail/Slack), including API routes, auth polling endpoint, and UI
  • Removes legacy vercelai/using-arcade-tools page and _meta.tsx; updates PlatformCard link in agent-frameworks/page.mdx to vercelai
  • Adds redirect in next.config.ts from /:locale/guides/agent-frameworks/vercelai/using-arcade-tools to /:locale/guides/agent-frameworks/vercelai
  • Refreshes public/llms.txt (git-sha/date) and replaces references to the old page with the new guide

Written by Cursor Bugbot for commit 7af8325. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Jan 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Jan 13, 2026 11:21pm

const cleanedInput = stripNullValues(input);
return originalExecute(cleanedInput);
},
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tool schema uses wrong property name inputSchema

High Severity

The toVercelTools function incorrectly assigns the Zod schema to inputSchema instead of parameters. The Vercel AI SDK's streamText function expects tools to have a parameters property for the schema definition, not inputSchema. This would cause the AI model to not recognize the tool parameter schemas, breaking tool calling functionality entirely.

Additional Locations (1)

Fix in Cursor Fix in Web

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This turned into a nightmare to fix

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

Successfully merging this pull request may close these issues.

2 participants