| 57 | export type StreamPartKind = "reasoning" | "content"; |
| 58 | |
| 59 | export interface StreamPart { |
| 60 | kind: StreamPartKind; |
| 61 | delta: string; |
| 62 | } |
| 63 | |
| 64 | function extractDeltaContent(delta: Record<string, unknown> | undefined): string { |
| 65 | if (!delta) { |
nothing calls this directly
no outgoing calls
no test coverage detected