Skip to content

Interface: ReasoningBlock

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / ReasoningBlock

Defined in: src/types/content.ts:210

Reasoning content block.

Contains model reasoning/thinking from extended thinking or chain-of-thought. This content represents the model’s internal reasoning process.

const reasoningBlock: ReasoningBlock = {
type: 'reasoning',
text: 'Let me think about this step by step...'
};

text: string

Defined in: src/types/content.ts:215

The reasoning/thinking text


type: "reasoning"

Defined in: src/types/content.ts:212

Discriminator for reasoning blocks