library · inferred from evidence
@ai-sdk/react
A React library for AI SDK, explicitly named in the issue context.
- Streaming structured output end to end: Output.object to useObject
The v6+ structured-output pipeline: streamText with output Output.object on the server, useObject on the client, schema shared between them.
- Diagnose "Model is not assignable to type LanguageModelV1"
The TypeScript error that means your @ai-sdk/* provider package is from a different spec generation than your ai core: upgrade them together.
- Pin ai and @ai-sdk/* together: the version matrix that prevents protocol errors
AI SDK 7 version discipline: ai, provider packages, and UI bindings must move together, and the v7 line-up is ai 7 with @ai-sdk/* provider 4.x era packages.
- useChat client in App Router: DefaultChatTransport, sendMessage, manual input state
How the client side of useChat looks in AI SDK 7: transport object, sendMessage with a text message, and input state you manage yourself.
- AI SDK with SvelteKit: @ai-sdk/svelte useChat and a +server.ts stream endpoint
Svelte chat in AI SDK 7: install ai plus @ai-sdk/svelte, wire useChat in a Svelte component, stream from a SvelteKit server endpoint.
- [BUG] Mastra with ai-sdk v5 may cause duplicate assistant messages
Duplicate assistant messages with ai-sdk v5 could not be reproduced in the latest beta, so the issue was closed there. If you hit this, upgrade to the latest beta and retest.