Running wrangler dev with the AI SDK's workers-ai provider produced incomplete or inaccurate generations, while wrangler dev --remote gave correct results every time. The same prompts worked fine through the Workers AI binding directly, so the problem was in how the provider proxied AI calls during local dev. Maintainer andyjessop confirmed the fix shipped in v0.0.13 of the provider, via PR #24.