From b48debc3f97756d14bfa3405998112f6bee99e9f Mon Sep 17 00:00:00 2001 From: Educg550 Date: Wed, 22 Oct 2025 16:51:12 -0300 Subject: [PATCH] fix: update librechat.example.yaml, internal imports --- api/server/utils/agentCategory.js | 2 +- librechat.example.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/server/utils/agentCategory.js b/api/server/utils/agentCategory.js index b9375fa673..1d40193a57 100644 --- a/api/server/utils/agentCategory.js +++ b/api/server/utils/agentCategory.js @@ -1,5 +1,4 @@ const { logger } = require('@librechat/data-schemas'); -const { getAllCategories, createCategory, updateCategory, deleteCategory } = require('~/models'); /** * Synchronizes custom agent categories with the database. @@ -7,6 +6,7 @@ const { getAllCategories, createCategory, updateCategory, deleteCategory } = req * @param {boolean} enableDefaultCategories - Flag indicating whether to enable default categories. */ async function syncCategories(customCategoriesList, enableDefaultCategories) { + const { getAllCategories, createCategory, updateCategory, deleteCategory } = require('~/models'); logger.info('Syncing custom agent categories...'); // Get all categories from DB diff --git a/librechat.example.yaml b/librechat.example.yaml index 490cf5fd31..810f1ac376 100644 --- a/librechat.example.yaml +++ b/librechat.example.yaml @@ -96,7 +96,7 @@ interface: marketplace: use: false categories: - enableDefaultCategories: false + enableDefaultCategories: true # list: # - value: "Education" # description: "Educational agents."