Skip to content

Fix billable messages warning#183

Open
umair-ably wants to merge 1 commit intomainfrom
fixBillableMessageWarning
Open

Fix billable messages warning#183
umair-ably wants to merge 1 commit intomainfrom
fixBillableMessageWarning

Conversation

@umair-ably
Copy link
Collaborator

API calls are not billed... messages retrieved are

@coderabbitai
Copy link

coderabbitai bot commented Mar 23, 2026

Warning

Rate limit exceeded

@umair-ably has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 22 minutes and 23 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f53a2c19-e26d-45a8-a19b-b4747c284b31

📥 Commits

Reviewing files that changed from the base of the PR and between c2c1d30 and a228f5f.

📒 Files selected for processing (2)
  • AGENTS.md
  • src/utils/pagination.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fixBillableMessageWarning

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@vercel
Copy link

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cli-web-cli Ready Ready Preview, Comment Mar 23, 2026 6:01pm

Request Review

if (isBillable) {
return formatWarning(
`${message} Each page request counts as a billable message.`,
`${message} Each message retrieved counts as a billable message.`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coderabbitai can you check if warning is also shown in json mode?

Copy link
Contributor

@sacOO7 sacOO7 Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems, it's not printed in JSON mode

      const paginationWarning = formatPaginationLog(
        pagesConsumed,
        subscriptions.length,
      );
      if (paginationWarning && !this.shouldOutputJson(flags)) {
        this.log(paginationWarning);
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants