mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
fb97b6be64
convertToModelMessages is async but was not being awaited, so a Promise was passed to streamText instead of the resolved ModelMessage array. This caused Zod validation to fail on every chat request with: "Invalid prompt: The messages do not match the ModelMessage[] schema."