MCPcopy Create free account
hub / github.com/Noumena-Network/code / getPdfInvalidErrorMessage

Function getPdfInvalidErrorMessage

src/services/api/errors.ts:179–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177 : 'PDF is password protected. Please double press esc to edit your message and try again.'
178}
179export function getPdfInvalidErrorMessage(): string {
180 return getIsNonInteractiveSession()
181 ? 'The PDF file was not valid. Try converting it to text first (e.g., pdftotext).'
182 : 'The PDF file was not valid. Double press esc to go back and try again with a different file.'
183}
184export function getImageTooLargeErrorMessage(): string {
185 return getIsNonInteractiveSession()
186 ? 'Image was too large. Try resizing the image or using a different approach.'

Callers 2

normalizeMessagesForAPIFunction · 0.85

Calls 1

Tested by

no test coverage detected