mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-11 03:54:23 +01:00
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:
parent
cb6ce42815
commit
ff9549e79c
5 changed files with 19 additions and 28 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const { getModelMaxTokens } = require('@librechat/api');
|
||||
const { getModelMaxTokens } = require('librechat-data-provider');
|
||||
const BaseClient = require('../BaseClient');
|
||||
|
||||
class FakeClient extends BaseClient {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue