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

Function formatLimitReachedText

src/services/rateLimitMessages.ts:414–425  ·  view source on GitHub ↗
(
  limit: string,
  resetMessage: string,
  _model: string,
)

Source from the content-addressed store, hash-verified

412}
413
414function formatLimitReachedText(
415 limit: string,
416 resetMessage: string,
417 _model: string,
418): string {
419 // Enhanced messaging for Ant users
420 if (isInternalBuild()) {
421 return `You've hit your ${limit}${resetMessage}. If you have feedback about this limit, post in ${FEEDBACK_CHANNEL_ANT}. You can reset your limits with /reset-limits`
422 }
423
424 return `You've hit your ${limit}${resetMessage}`
425}

Callers 1

getLimitReachedTextFunction · 0.85

Calls 1

isInternalBuildFunction · 0.85

Tested by

no test coverage detected