From 8443330abd94ff111dddeea568866de64fe92a1d Mon Sep 17 00:00:00 2001 From: "Glenn R. Martin" <222487+grmartin@users.noreply.github.com> Date: Tue, 3 Jun 2025 21:19:28 -0400 Subject: [PATCH] Removing some unneeded comments --- src/core/operations/CountAITokens.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/core/operations/CountAITokens.mjs b/src/core/operations/CountAITokens.mjs index c1876fba..72b92090 100644 --- a/src/core/operations/CountAITokens.mjs +++ b/src/core/operations/CountAITokens.mjs @@ -40,11 +40,7 @@ class CountAITokens extends Operation { */ async run(input, args) { 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; let countTokensFn; if (MODEL_TO_MODULES[model]) {