Removing some unneeded comments
This commit is contained in:
parent
0df7ac0bad
commit
8443330abd
@ -40,11 +40,7 @@ class CountAITokens extends Operation {
|
|||||||
*/
|
*/
|
||||||
async run(input, args) {
|
async run(input, args) {
|
||||||
if (!input) return "";
|
if (!input) return "";
|
||||||
// const [model] = args;
|
|
||||||
// // Use the mapping, fallback to cl100k_base if not found
|
|
||||||
// const encoding = MODEL_TO_ENCODING[model] || cl100k_base;
|
|
||||||
// const tokenCount = encoding.;
|
|
||||||
// return tokenCount.toString();
|
|
||||||
const [model] = args;
|
const [model] = args;
|
||||||
let countTokensFn;
|
let countTokensFn;
|
||||||
if (MODEL_TO_MODULES[model]) {
|
if (MODEL_TO_MODULES[model]) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user