ReasoningItem
type ReasoningItem = object;Type Declaration
Section titled “Type Declaration”content
Section titled “content”content: object[];The user facing representation of the reasoning. Additional information might be in the providerData field.
optional id: string;providerData?
Section titled “providerData?”optional providerData: Record<string, any>;Additional optional provider specific data. Used for custom functionality or model provider specific fields.
rawContent?
Section titled “rawContent?”optional rawContent: object[];The raw reasoning text from the model.
type: "reasoning";