chore: rename Config/getAppConfig -> Config/app

This commit is contained in:
Danny Avila 2025-08-17 22:45:32 -04:00
parent e7af3bdaed
commit 0b5816d1be
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
13 changed files with 17 additions and 17 deletions

View file

@ -9,8 +9,8 @@ const { logAxiosError } = require('@librechat/api');
const { logger } = require('@librechat/data-schemas');
const { ContentTypes, EImageOutputType } = require('librechat-data-provider');
const { getStrategyFunctions } = require('~/server/services/Files/strategies');
const { getAppConfig } = require('~/server/services/Config');
const { extractBaseURL } = require('~/utils');
const { getAppConfig } = require('~/server/services/Config/app');
const extractBaseURL = require('~/utils/extractBaseURL');
const { getFiles } = require('~/models/File');
/** Default descriptions for image generation tool */
@ -122,7 +122,7 @@ function createAbortHandler() {
* @param {string} fields.IMAGE_GEN_OAI_API_KEY - The OpenAI API key
* @param {boolean} [fields.override] - Whether to override the API key check, necessary for app initialization
* @param {MongoFile[]} [fields.imageFiles] - The images to be used for editing
* @returns {Array} - Array of image tools
* @returns {Promise<StructuredTool[]>} - Array of image tools
*/
async function createOpenAIImageTools(fields = {}) {
/** @type {boolean} Used to initialize the Tool without necessary variables. */