refactor: revert changes made to token logic

This commit is contained in:
Marco Beretta 2026-02-07 15:59:06 +01:00
parent 65d88da085
commit f79a37728b
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
8 changed files with 429 additions and 694 deletions

View file

@ -1,4 +1,6 @@
const { EModelEndpoint, maxTokensMap } = require('librechat-data-provider');
/** Note: No hard-coded values should be used in this file. */
const { maxTokensMap } = require('@librechat/api');
const { EModelEndpoint } = require('librechat-data-provider');
const {
defaultRate,
tokenValues,