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

Function getRequestTooLargeErrorMessage

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

Source from the content-addressed store, hash-verified

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()
192 ? `Request too large (${limits}). Try with a smaller file.`
193 : `Request too large (${limits}). Double press esc to go back and try with a smaller file.`
194}
195export const OAUTH_ORG_NOT_ALLOWED_ERROR_MESSAGE =
196 'Your account does not have access to Code. Please run /login.'
197

Callers 2

normalizeMessagesForAPIFunction · 0.85

Calls 2

formatFileSizeFunction · 0.85

Tested by

no test coverage detected