@noobdemon/noob-cli 1.10.17 → 1.10.18
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/package.json +1 -1
- package/src/repl.js +0 -1
package/package.json
CHANGED
package/src/repl.js
CHANGED
|
@@ -1368,7 +1368,6 @@ NGUYÊN TẮC:
|
|
|
1368
1368
|
// 60% (120k tokens) → nhắc nhẹ.
|
|
1369
1369
|
try {
|
|
1370
1370
|
const totalTokens = countMessages(state.history);
|
|
1371
|
-
tokenMeter.setContext(totalTokens);
|
|
1372
1371
|
const k = Math.round(totalTokens / 1000);
|
|
1373
1372
|
const pct = Math.round((totalTokens / CONTEXT_WINDOW) * 100);
|
|
1374
1373
|
// Mốc 3 (≥80% — 160k tokens): TỰ ĐỘNG compact.
|