refactor: update imports to use normalizeEndpointName from @librechat/api and remove redundant definitions

This commit is contained in:
Danny Avila 2025-08-18 02:31:08 -04:00
parent 8df0ecd438
commit 5e70d518aa
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
6 changed files with 17 additions and 18 deletions

View file

@ -1,7 +1,6 @@
const { logger } = require('@librechat/data-schemas');
const { isEnabled, getUserMCPAuthMap } = require('@librechat/api');
const { isEnabled, getUserMCPAuthMap, normalizeEndpointName } = require('@librechat/api');
const { CacheKeys, EModelEndpoint } = require('librechat-data-provider');
const { normalizeEndpointName } = require('~/server/utils');
const loadCustomConfig = require('./loadCustomConfig');
const getLogStores = require('~/cache/getLogStores');