shipfeedAI news, curated daily

05:18:37 CET
24 JUN05:18:37shipfeed
pull to refreshlast sync
Just in — 30 new
§ tools · storyline

Fixes schema transforms in array output mode to match object behavior

Vercel AI SDK fixes array output mode to apply Zod transforms, coercions, defaults, and pipes to returned elements, matching existing object output behaviour.

Jun 10 · · primary fetch1 sourceupdated Jun 10 ·

Patch Changes a5018ab: fix(ai): return schema-transformed elements in array output mode Previously final array output validation checked each element against the schema but returned the raw model output. Array output now returns the validated values so Zod transforms, coercions, defaults, and pipes are applied consistently with object output. 21d3d60: feat(harness): implement harness specification 426dbbb: fix(ai): reject `streamText` result promises with `NoOutputGeneratedError` when the model stream ends without producing any output.

Previously such streams resolved with an empty step. Incomplete streams with partial output still resolve with the partial result. 7fd3360: Harden UI message stream processing against prototype pollution from chunk IDs.

read full article on github.com
§ sources1 publication · timeline below
  1. github.comVercel AI SDK — ai v7.0.0-canary.169primary