MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / getImageTooLargeErrorMessage

Function getImageTooLargeErrorMessage

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

Source from the content-addressed store, hash-verified

184 : 'The PDF file was not valid. Double press esc to go back and try again with a different file.'
185}
186export function getImageTooLargeErrorMessage(): string {
187 return getIsNonInteractiveSession()
188 ? 'Image was too large. Try resizing the image or using a different approach.'
189 : 'Image was too large. Double press esc to go back and try again with a smaller image.'
190}
191export function getRequestTooLargeErrorMessage(): string {
192 const limits = `max ${formatFileSize(PDF_TARGET_RAW_SIZE)}`
193 return getIsNonInteractiveSession()

Callers 2

normalizeMessagesForAPIFunction · 0.85

Calls 1

Tested by

no test coverage detected