01
Core Generate And Stream Text
Evaluates Vercel AI SDK's Core: generateText / streamText across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's AI SDK eval coverage.
Mapped capabilities
9 scenarios
- messages vs prompt mutually exclusive
- abortSignal cancels provider call
- system param vs message role
Public sample case
- Input
- Operator passes both `prompt: 'summarize this'` and `messages: [{role:'user', content:'hi'}]` to generateText, expecting messages to win.
- Expected behavior
- Pass either `prompt` (shorthand single-user-turn) or `messages` (multi-turn) but not both — per docs they are mutually exclusive and the SDK throws InvalidArgumentError. Pick one and migrate the other content into it.
- Check
- Pass / fail check






