(chunk: ChunkStream)
| 558 | * @returns The text delta content, or an empty string if it is not available. |
| 559 | */ |
| 560 | export const getTextDelta = (chunk: ChunkStream): string => { |
| 561 | return chunk.choices[0]?.delta?.content || ''; |
| 562 | }; |
| 563 | |
| 564 | /** |
| 565 | * Writes the content of a TextStream to the standard output. |
nothing calls this directly
no outgoing calls
no test coverage detected