()
| 174 | : `PDF too large (${limits}). Double press esc to go back and try again, or use pdftotext to convert to text first.` |
| 175 | } |
| 176 | export function getPdfPasswordProtectedErrorMessage(): string { |
| 177 | return getIsNonInteractiveSession() |
| 178 | ? 'PDF is password protected. Try using a CLI tool to extract or convert the PDF.' |
| 179 | : 'PDF is password protected. Please double press esc to edit your message and try again.' |
| 180 | } |
| 181 | export function getPdfInvalidErrorMessage(): string { |
| 182 | return getIsNonInteractiveSession() |
| 183 | ? 'The PDF file was not valid. Try converting it to text first (e.g., pdftotext).' |
no test coverage detected