zames_pro 2.21.2 → 2.22.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/dist/input.js +3 -1
- package/package.json +1 -1
package/dist/input.js
CHANGED
|
@@ -221,7 +221,9 @@ export function formatTokenStatus(tokens, limit = CONTEXT_LIMIT) {
|
|
|
221
221
|
}
|
|
222
222
|
const pct = Math.max(0, (n / limit) * 100);
|
|
223
223
|
const pctStr = pct >= 10 ? String(Math.round(pct)) : pct.toFixed(1);
|
|
224
|
-
|
|
224
|
+
// "ctx" marks this as the USED context size, so the operator does not have
|
|
225
|
+
// to guess what "302k · 30%" means.
|
|
226
|
+
return 'ctx ' + compact + ' · ' + pctStr + '%';
|
|
225
227
|
}
|
|
226
228
|
export class LineEditor {
|
|
227
229
|
promptStr;
|