| 100 | |
| 101 | // Helper to split text content into regular text and file sections (PDF or text files) |
| 102 | interface TextSection { |
| 103 | type: "text" | "file" |
| 104 | content: string |
| 105 | filename?: string |
| 106 | charCount?: number |
| 107 | fileType?: "pdf" | "text" |
| 108 | } |
| 109 | |
| 110 | function splitTextIntoFileSections(text: string): TextSection[] { |
| 111 | const sections: TextSection[] = [] |
nothing calls this directly
no outgoing calls
no test coverage detected