Interface: ReasoningBlock
@providerprotocol/ai / @providerprotocol/ai / ReasoningBlock
Interface: ReasoningBlock
Section titled “Interface: 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.
Example
Section titled “Example”const reasoningBlock: ReasoningBlock = { type: 'reasoning', text: 'Let me think about this step by step...'};Properties
Section titled “Properties”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