@ai-sdk/moonshotai@3.0.35
·
3 commits
to main
since this release
Patch Changes
- 9435df8: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple
itemsarrays becomeprefixItems,typenext toanyOfmoves into the branches, and non-objectroot schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation.