MCPcopy Create free account
hub / github.com/experdot/pointer / AIStreamChunk

Interface AIStreamChunk

src/shared/ai.ts:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39export interface AIStreamChunk {
40 requestId: string
41 type: 'chunk' | 'complete' | 'error' | 'reasoning_content'
42 content?: string
43 reasoning_content?: string
44 error?: string
45}
46
47export interface AIStreamCallbacks {
48 onChunk: (chunk: string) => void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected