Skip to content

Commit 641ff20

Browse files
committed
No log spamming for token counter
1 parent f638d8c commit 641ff20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/backend-tokenApproximator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@
949949
return resolve();
950950
}
951951

952-
log(`Thread estimation success: ${modelUsed}`);
952+
// log(`Thread estimation success: ${modelUsed}`);
953953
const tokens = estimates.threadText;
954954
currentThreadChip.querySelector('.val').textContent = formatTokens(tokens);
955955
markFreshThenStale(currentThreadChip, 'thread', effectiveSettings);
@@ -1045,7 +1045,7 @@
10451045
return resolve();
10461046
}
10471047

1048-
log(`Editor estimation success: ${modelUsed}`);
1048+
// log(`Editor estimation success: ${modelUsed}`);
10491049
const tokens = estimates.editorText;
10501050
currentEditorChip.querySelector('.val').textContent = formatTokens(tokens);
10511051
markFreshThenStale(currentEditorChip, 'editor', effectiveSettings);

0 commit comments

Comments
 (0)