(res: ServerResponse)
| 156 | } |
| 157 | |
| 158 | function flushResponse(res: ServerResponse): void { |
| 159 | const flushable = res as ServerResponse & { flush?: () => void }; |
| 160 | flushable.flush?.(); |
| 161 | } |
| 162 | |
| 163 | async function pipeOpenRouterStream( |
| 164 | res: ServerResponse, |