MCPcopy Index your code
hub / github.com/Noumena-Network/code / getImageTooLargeErrorMessage

Function getImageTooLargeErrorMessage

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

Source from the content-addressed store, hash-verified

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.'
187 : 'Image was too large. Double press esc to go back and try again with a smaller image.'
188}
189export function getRequestTooLargeErrorMessage(): string {
190 const limits = `max ${formatFileSize(PDF_TARGET_RAW_SIZE)}`
191 return getIsNonInteractiveSession()

Callers 2

normalizeMessagesForAPIFunction · 0.85

Calls 1

Tested by

no test coverage detected