ai
ai copied to clipboard
forwardStream types and documentation
Description
There is a confusion for the forwardStream
function
In code typescript has it's return type to be Promise<any>
In the documentation, it returns void, but I is used as if it returns a Run
object(?)
Additional context
Good point, it returns Run
.
https://github.com/vercel/ai/pull/1164
Thank you! that was super fast!