Skip to content
1 min read · 85 words

Variable: defaultRenderAnthropicThinkingBlocks

ts
const defaultRenderAnthropicThinkingBlocks: (input: {
  model: string;
  prefixFingerprint: string;
  replayCompatibility: readonly string[];
  thought: Thought;
  warn?: (msg: string) => void;
}) => ContentBlockParam[] = renderAnthropicThinkingBlocks;

Defined in: src/batteries/llm/anthropic_messages/helpers.ts:450

Default thinking replay renderer.

Converts an eligible stored Anthropic thinking payload into byte-exact wire blocks.

Parameters

ParameterType
input{ model: string; prefixFingerprint: string; replayCompatibility: readonly string[]; thought: Thought; warn?: (msg: string) => void; }
input.modelstring
input.prefixFingerprintstring
input.replayCompatibilityreadonly string[]
input.thoughtThought
input.warn?(msg: string) => void

Returns

ContentBlockParam[]