Skip to content

apollo-code


apollo-code / provider-kit/src / ProviderChunk

Type Alias: ProviderChunk

ProviderChunk = { kind: "message.start"; messageId: string; } | { kind: "text.delta"; text: string; } | { kind: "thinking.delta"; signature?: string; text: string; } | { id: string; kind: "tool_use.start"; name: string; } | { argsFragment: string; id: string; kind: "tool_use.delta"; } | { id: string; kind: "tool_use.end"; } | { kind: "usage"; usage: Usage; } | { kind: "message.stop"; stopReason: StopReason; } | { kind: "message.interrupted"; partial?: { text?: string; toolUseIds?: string[]; }; reason: string; } | { error: ProviderError; kind: "error"; }