()
| 276 | |
| 277 | let pendingUserText: string[] = [] |
| 278 | const flushPendingUserText = () => { |
| 279 | if (pendingUserText.length === 0) return |
| 280 | out.push({ role: 'user', content: pendingUserText.join('\n') }) |
| 281 | pendingUserText = [] |
| 282 | } |
| 283 | |
| 284 | for (const block of content) { |
| 285 | if (!block || typeof block !== 'object') continue |
no outgoing calls
no test coverage detected