Skip to content

ReasoningItem

type ReasoningItem = object;
content: object[];

The user facing representation of the reasoning. Additional information might be in the providerData field.

optional id?: string;
optional providerData?: Record<string, any>;

Additional optional provider specific data. Used for custom functionality or model provider specific fields.

optional rawContent?: object[];

The raw reasoning text from the model.

type: "reasoning";