Sanity Context + Vercel AI SDK guide uses the pre-v7 system option
ai package and passes system: systemPrompt to generateText.Connect Sanity Context with Vercel AI SDK ↗system option to instructions (a codemod rename-system-to-instructions exists).AI SDK: Migrate 6.x to 7.0 ↗Resolution · Version-scoped by package, not API: system is correct for ai@6, instructions for ai@7. Suggested fix: pin the install to a major version in the guide, or update the example to instructions.