Skip to content

Variable: REASONING\_TYPES

const REASONING_TYPES: ReadonlySet<string>

Content-part / input-item types Claude extended thinking uses on the wire.

Shared so both wire surfaces strip the same set: the Responses path here (sanitizeOpenResponsesInput) and the Chat Completions path in @dbx-tools/appkit-mastra’s serving sanitize. Anthropic signs these blocks, so a replay that mutates one is rejected outright - both paths must agree on what counts as a reasoning block.