(chunk: any)
| 548 | * @returns The text content from the ChunkStream. |
| 549 | */ |
| 550 | export const getTextContent = (chunk: any): string => { |
| 551 | return chunk.choices[0]?.delta?.content || ''; |
| 552 | }; |
| 553 | |
| 554 | /** |
| 555 | * Retrieves the text delta from a given chunk. |
no outgoing calls
no test coverage detected