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