( content: string, textType?: 'reasoning' | 'text', )
| 20 | // ============================================================================ |
| 21 | |
| 22 | function createTextBlock( |
| 23 | content: string, |
| 24 | textType?: 'reasoning' | 'text', |
| 25 | ): TextContentBlock { |
| 26 | return { |
| 27 | type: 'text', |
| 28 | content, |
| 29 | textType, |
| 30 | } as TextContentBlock |
| 31 | } |
| 32 | |
| 33 | function createReasoningBlock(content: string): TextContentBlock { |
| 34 | return createTextBlock(content, 'reasoning') |
no outgoing calls
no test coverage detected