@chinmaymk/aikit / handleContentBlockDelta
Function: handleContentBlockDelta()
handleContentBlockDelta(
event,state):null|StreamChunk
Defined in: providers/anthropic-stream.ts:72
Parameters
event
type
"content_block_delta"
index
number
delta
{ type: "text_delta"; text: string; } | { type: "input_json_delta"; partial_json: string; } | { type: "thinking_delta"; thinking: string; } | { type: "signature_delta"; signature: string; }
state
StreamState
Returns
null | StreamChunk