API Reference
ReasoningFormat
Defined in: types/reasoning.ts:19
Provider dialect a ReasoningDetail block is encoded in.
Remarks
Carried verbatim and used only to pick the right egress field — never parsed
by this library. anthropic-claude-v1 is the default for unlabeled blocks.
Unknown future dialects map to ReasoningFormat.Unknown.
Enumeration Members
| Enumeration Member | Value | Description | Defined in |
|---|---|---|---|
AnthropicClaudeV1 | "anthropic-claude-v1" | Anthropic Claude reasoning blocks — the default for unlabeled blocks. | types/reasoning.ts:29 |
AzureOpenAIResponsesV1 | "azure-openai-responses-v1" | Azure OpenAI Responses API reasoning items. | types/reasoning.ts:25 |
GoogleGeminiV1 | "google-gemini-v1" | Google Gemini reasoning blocks (thought signatures). | types/reasoning.ts:31 |
OpenAIResponsesV1 | "openai-responses-v1" | OpenAI Responses API reasoning items. | types/reasoning.ts:23 |
Unknown | "unknown" | Dialect not advertised by the provider. | types/reasoning.ts:21 |
XAIResponsesV1 | "xai-responses-v1" | xAI Responses API reasoning items. | types/reasoning.ts:27 |