()
| 63 | } |
| 64 | |
| 65 | function getMaxEmbedFileSize(): number { |
| 66 | return Math.max(1024, toIntegerOr(process.env.CONTEXTPLUS_MAX_EMBED_FILE_SIZE, DEFAULT_MAX_EMBED_FILE_SIZE)); |
| 67 | } |
| 68 | |
| 69 | function extractPlainTextHeader(content: string): string { |
| 70 | const lines = content.split("\n"); |
no test coverage detected