Why is "No output generated" error thrown?

main
37b6b4ebuild(tools): slow down `analyze-providers.ts` script (#11839)
This post might have stale content, as main is 1998 commits ahead.

why is "No output generated. Check the stream for errors." thrown? what could it be?

Avatar of julianbenegas
Julian Benegas
commented

So it could presumably be like "I ran out of input tokens", for example?

Avatar of julianbenegas
Julian Benegas
commented

how can we detect an error of that type, that should for example trigger contetx compaction?


END OF POST

Why is "No output generated" error thrown? — vercel/ai