refactor: revert changes made to token logic

This commit is contained in:
Marco Beretta 2026-02-07 15:59:06 +01:00
parent 499380f74c
commit 81db6b655a
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
7 changed files with 11 additions and 693 deletions

View file

@ -1,8 +1,11 @@
const { EModelEndpoint, maxTokensMap, maxOutputTokensMap } = require('librechat-data-provider');
/** Note: No hard-coded values should be used in this file. */
const { EModelEndpoint } = require('librechat-data-provider');
const {
maxTokensMap,
matchModelName,
processModelData,
getModelMaxTokens,
maxOutputTokensMap,
findMatchingPattern,
} = require('@librechat/api');