mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-14 10:14:53 -04:00
Removing some unneeded comments
This commit is contained in:
parent
0df7ac0bad
commit
8443330abd
1 changed files with 1 additions and 5 deletions
|
@ -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]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue