Skip to main content
Content part types structurally compatible with TanStack AI’s TextPart and ImagePart so that TanStackMessage[] is directly assignable to ModelMessage[]. Declared locally so this module has no runtime dependency on @tanstack/ai.

Properties

string
required
"text"
required