(runner: Runner)
| 568 | * @returns A Promise that resolves when the printing is complete. |
| 569 | */ |
| 570 | export const printStreamToStdout = async (runner: Runner): Promise<void> => { |
| 571 | for await (const chunk of runner) { |
| 572 | const textPart = chunk.choices[0]?.delta?.content || ''; |
| 573 | process.stdout.write(textPart); |
| 574 | } |
| 575 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected