From 8a6416f28fe9b2ec7955ceb6b9c1707e6ab191cb Mon Sep 17 00:00:00 2001 From: vibe-code Date: Thu, 13 Aug 2026 03:21:22 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=89=8D=E7=BD=AE=E9=97=B8=E9=97=A8?= =?UTF-8?q?=E9=A2=84=E8=AE=A1=E7=AE=97=E8=BE=93=E5=85=A5=20token=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20DEBUG=20=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- volc_limit_sync.py | 6 ++++++ 1 file changed, 6 insertions(+) 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