token-usage-sync 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -311,7 +311,7 @@ async function main() {
|
|
|
311
311
|
// 制限値
|
|
312
312
|
// 5時間: 重み付けトークン(cache_read=0x, cache_create=1x)
|
|
313
313
|
// 週間: 生トークン
|
|
314
|
-
const LIMIT_5H_WEIGHTED =
|
|
314
|
+
const LIMIT_5H_WEIGHTED = 4_100_000; // 5時間制限: 4.1M weighted tokens
|
|
315
315
|
const LIMIT_WEEK_RAW = 195_000_000; // 週間制限: 195M raw tokens
|
|
316
316
|
|
|
317
317
|
const pct5h = Math.round((usage.limits.last5Hours.weightedTokens / LIMIT_5H_WEIGHTED) * 100);
|