MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getRateLimitErrorMessageDefault

Function getRateLimitErrorMessageDefault

packages/core/src/utils/errorParsing.ts:54–57  ·  view source on GitHub ↗
(
  fallbackModel: string = DEFAULT_FALLBACK_MODEL,
)

Source from the content-addressed store, hash-verified

52const RATE_LIMIT_ERROR_MESSAGE_VERTEX =
53 '\nPlease wait and try again later. To increase your limits, request a quota increase through Vertex, or switch to another /auth method';
54const getRateLimitErrorMessageDefault = (
55 fallbackModel: string = DEFAULT_FALLBACK_MODEL,
56) =>
57 `\nPossible quota limitations in place or slow response times detected. Switching to the ${fallbackModel} model for the rest of this session.`;
58
59function getRateLimitMessage(
60 authType?: AuthType,

Callers 1

getRateLimitMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected