| 40 | } |
| 41 | |
| 42 | export interface AIStreamChunk { |
| 43 | requestId: string |
| 44 | type: 'chunk' | 'complete' | 'error' | 'reasoning_content' |
| 45 | content?: string |
| 46 | reasoning_content?: string |
| 47 | error?: string |
| 48 | } |
| 49 | |
| 50 | class AIHandler { |
| 51 | // 使用 Map 管理多个并行请求的 AbortController |
nothing calls this directly
no outgoing calls
no test coverage detected