Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/provider / adapters/vercel / AISDKChunk

Interface: AISDKChunk ​

Defined in: packages/provider/src/adapters/vercel.ts:85

Stable

Loose chunk shape emitted by the AI SDK's streamText. The shape is intentionally permissive - we accept anything that carries the fields we use and ignore the rest. This keeps the adapter tolerant of additive AI SDK schema changes.

The fields we read are normalized in the adapter via narrow helper functions, so we deliberately type each as unknown and gate access behind typeof checks at runtime.

Indexable ​

ts
[extra: string]: unknown

Properties ​

PropertyModifierTypeDefined in
typereadonlystringpackages/provider/src/adapters/vercel.ts:86