Skip to content

ReasoningProviderData

Defined in: src/types/messages.ts:702

Provider-native reasoning that only a model whose model info names its provider tag can replay.

Written by an SDK model provider; every other model receives only the block’s text. For a signature that is every model of the signing vendor.

provider: string;

Defined in: src/types/messages.ts:707

The format tag of the provider that wrote it: 'openai_responses', or the vendor that signed it ('anthropic', 'google').


modelId: string;

Defined in: src/types/messages.ts:712

The model that produced the reasoning.


data: {
[key: string]: JSONValue;
};

Defined in: src/types/messages.ts:718

The provider’s own JSON payload; private to that provider and not a stable shape. Empty when the block’s own fields already hold everything, as for a signature.

[key: string]: JSONValue