From 782af3a916d2aa73fe59695c027edc15c2e9dfbf Mon Sep 17 00:00:00 2001 From: cryptam <102138190+CryptAm@users.noreply.github.com> Date: Wed, 1 Jul 2026 16:25:18 +0300 Subject: [PATCH] Remove duplicate free model limit constants 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. --- snippets/exports/constants.mdx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/snippets/exports/constants.mdx b/snippets/exports/constants.mdx index 89a6259..8fb5547 100644 --- a/snippets/exports/constants.mdx +++ b/snippets/exports/constants.mdx @@ -34,10 +34,6 @@ export const MISTRAL_OCR_USER_COST_PER_1K_PAGE_DOLLARS = 2; export const FREE_MODEL_RATE_LIMIT_RPM = 20; -export const FREE_MODEL_CREDITS_THRESHOLD = 10; - -export const FREE_MODEL_NO_CREDITS_RPD = 50; - export const FREE_MODEL_HAS_CREDITS_RPD = 1000; export const ALIBABA_CACHE_READ_MULTIPLIER = '0.1'; @@ -81,4 +77,4 @@ export const anthropicMaxMessagesCount = 1000; export const MAX_CATEGORIES_PER_REQUEST = 2; -export const MAX_CATEGORIES_PER_APP = 10; \ No newline at end of file +export const MAX_CATEGORIES_PER_APP = 10;