本页还没有译文
本页 6 段还没译成Português (BR),下面显示的是英文原文。ConstrainedContent
还没翻译译自英文(tanstack.com)本页 6 段都还没译
type ConstrainedContent<TInputModalitiesTypes> =
| string
| null
| ContentPartForInputModalitiesTypes<TInputModalitiesTypes>[];Defined in: packages/ai/src/types.ts:368
Type for message content constrained by supported modalities. When modalities is ['text', 'image'], only TextPart and ImagePart are allowed in the array.
Type Parameters
TInputModalitiesTypes
TInputModalitiesTypes extends InputModalitiesTypes
AI 翻译查看英文原文