feat: add billing expression system documentation and enhance tiered billing logic
- Introduced a new rule for the Billing Expression System, emphasizing the importance of reading `pkg/billingexpr/expr.md` for dynamic billing. - Updated the billing expression logic to support new variables and improved handling of image and audio tokens. - Enhanced the tiered billing functionality with versioning support for expressions and refined quota calculations. - Added tests to validate the new billing expression features and ensure correctness in pricing calculations.
Showing
.cursor/rules/project.mdc
deleted
100644 → 0
pkg/billingexpr/expr.md
0 → 100644
This diff is collapsed.
Click to expand it.
service/tool_billing.go
0 → 100644
web/src/constants/billing.constants.js
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment