diff --git a/volc_limit_sync.py b/volc_limit_sync.py index f1b968d..531dc9e 100644 --- a/volc_limit_sync.py +++ b/volc_limit_sync.py @@ -852,6 +852,12 @@ class DailyLimitHandler(CustomLogger): reserve = input_tokens + max_out + if DEBUG_MODE: + log( + f"🔍 Pre-reserve {data['model']}: input={int(input_tokens):,} + max_out={int(max_out):,} = reserve={int(reserve):,}", + level="DEBUG", + ) + blocked = _check_request_block(data["model"], reserve=reserve) if not blocked: return None