Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/core / / ReasoningContent

Interface: ReasoningContent

Defined in: packages/core/src/types/message.ts:89

Reasoning content emitted by reasoning-capable models. Stored separately from text so that consumers can choose to hide / strip it (per the streaming-first principle and the replay-redaction policy).

Stable

Properties

PropertyModifierTypeDescriptionDefined in
causalityChain?readonlyreadonly string[]See TextContent.causalityChain.packages/core/src/types/message.ts:106
meta?readonlyReasoningContentMetaProvider-specific opaque metadata that MUST round-trip byte-equal when the effective reasoningRetention is not 'strip'. The field is provider-supplied protocol payload, not user content, and is therefore exempt from prompt-redaction scanning. Anthropic Claude tool-use thinking blocks supply { provider: 'anthropic', signature, data? }; other providers are free to populate whatever opaque keys their wire contract requires. Adapters that do not need round-tripping omit this field entirely.packages/core/src/types/message.ts:104
textreadonlystring-packages/core/src/types/message.ts:91
typereadonly"reasoning"-packages/core/src/types/message.ts:90