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

Function getRequestTooLargeErrorMessage

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

Source from the content-addressed store, hash-verified

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

Callers 2

normalizeMessagesForAPIFunction · 0.85

Calls 2

formatFileSizeFunction · 0.85

Tested by

no test coverage detected