| 14 | type RequestStatus = 'running' | 'completed' | 'failed' | 'aborted' |
| 15 | |
| 16 | interface RequestState { |
| 17 | event: Electron.IpcMainInvokeEvent |
| 18 | eventChannel: string |
| 19 | fullResponse: string |
| 20 | fullReasoning: string |
| 21 | status: RequestStatus |
| 22 | } |
| 23 | |
| 24 | class AIHandler { |
| 25 | private abortControllers = new Map<string, AbortController>() |
nothing calls this directly
no outgoing calls
no test coverage detected