(phaseText: string)
| 385 | }); |
| 386 | } catch {} |
| 387 | }; |
| 388 | |
| 389 | const heartbeat = (async () => { |
| 390 | while (!heartbeatStopped) { |
| 391 | await sleep(20000); |
| 392 | if (heartbeatStopped) break; |
| 393 | await updateProgressStatus(currentPhaseText); |
| 394 | } |
| 395 | })(); |
| 396 | |
| 397 | let result: CodexResponseResult; |
| 398 | try { |
| 399 | result = await callCodexImage( |
| 400 | prompt, |
| 401 | referenceImage || undefined, |
no test coverage detected