vercel / ai

Build AI-powered applications with React, Svelte, Vue, and Solid
https://sdk.vercel.ai/docs
Other
10.23k stars 1.54k forks source link

chore (docs): note codemod exists for rm await streamText/Object. #3729

Closed shaper closed 1 week ago

shaper commented 1 week ago

Should have been part of #3724.

shaper commented 1 week ago

For @lgrammel to review Monday, landing now so docs are updated to go along with the codemod. Note the codemod isn't 100% (as discussed it removes the 'await' but doesn't update any surrounding code), but our codemod header docs cover this re: saying they're helpers and not comprehensive.