fix: update imports to use librechat-data-provider for token functions

Move matchModelName, findMatchingPattern, getModelMaxTokens, and
maxTokensMap imports from @librechat/api to librechat-data-provider
in CJS backend files, matching where these functions now live.
This commit is contained in:
Marco Beretta 2026-02-08 18:35:46 +01:00
parent cb6ce42815
commit ff9549e79c
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
5 changed files with 19 additions and 28 deletions

View file

@ -1,4 +1,4 @@
const { getModelMaxTokens } = require('@librechat/api');
const { getModelMaxTokens } = require('librechat-data-provider');
const BaseClient = require('../BaseClient');
class FakeClient extends BaseClient {