Skip to content

Revert "refactor: fix OCP violation in usage cost mapping (#96)"#97

Merged
SantiagoDePolonia merged 1 commit intomainfrom
revert-96-refactor/open-closed-principle
Feb 25, 2026
Merged

Revert "refactor: fix OCP violation in usage cost mapping (#96)"#97
SantiagoDePolonia merged 1 commit intomainfrom
revert-96-refactor/open-closed-principle

Conversation

@SantiagoDePolonia
Copy link
Copy Markdown
Contributor

This reverts commit b65c319.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 25, 2026

Warning

Rate limit exceeded

@SantiagoDePolonia has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 14 minutes and 55 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.

📥 Commits

Reviewing files that changed from the base of the PR and between b65c319 and 13e9e58.

📒 Files selected for processing (12)
  • CLAUDE.md
  • internal/app/app.go
  • internal/core/cost_mapping.go
  • internal/providers/anthropic/anthropic.go
  • internal/providers/factory.go
  • internal/providers/factory_test.go
  • internal/providers/gemini/gemini.go
  • internal/providers/openai/openai.go
  • internal/providers/xai/xai.go
  • internal/usage/cost.go
  • internal/usage/setup_test.go
  • internal/usage/stream_wrapper.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch revert-96-refactor/open-closed-principle

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.

@SantiagoDePolonia SantiagoDePolonia merged commit 28d82ea into main Feb 25, 2026
1 of 2 checks passed
@SantiagoDePolonia SantiagoDePolonia deleted the revert-96-refactor/open-closed-principle branch March 22, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant