Skip to content

Remove duplicate free model limit constants#12

Open
CryptAm wants to merge 1 commit into
OpenRouterTeam:mainfrom
CryptAm:patch-3
Open

Remove duplicate free model limit constants#12
CryptAm wants to merge 1 commit into
OpenRouterTeam:mainfrom
CryptAm:patch-3

Conversation

@CryptAm

@CryptAm CryptAm commented Jul 1, 2026

Copy link
Copy Markdown

FREE_MODEL_CREDITS_THRESHOLD and FREE_MODEL_NO_CREDITS_RPD were declared twice with different types.

The numeric declarations were unused duplicates, while the string versions are imported by docs/api/reference/limits.mdx and interpolated directly into MDX content.

Removed the duplicate numeric exports and kept the string values to preserve the existing template behavior.ants related to free model credits.

Removed unused constFREE_MODEL_CREDITS_THRESHOLD and FREE_MODEL_NO_CREDITS_RPD were declared twice with different types.

The numeric declarations were unused duplicates, while the string versions are imported by `docs/api/reference/limits.mdx` and interpolated directly into MDX content.

Removed the duplicate numeric exports and kept the string values to preserve the existing template behavior.ants related to free model credits.
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