Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🔧 fix: Logger Paths and Exclude `index.html` from Service Worker Caching (#7982)
Danny Avilaa5e8d009a1e1
diff --git a/packages/data-schemas/package.json b/packages/data-schemas/package.jsonindex 9234db4032..cbe0e5578a 100644--- a/packages/data-schemas/package.json+++ b/packages/data-schemas/package.json@@ -1,6 +1,6 @@{"name": "@librechat/data-schemas",- "version": "0.0.9",+ "version": "0.0.10","description": "Mongoose schemas and models for LibreChat","type": "module","main": "dist/index.cjs",diff --git a/packages/data-schemas/src/config/meiliLogger.ts b/packages/data-schemas/src/config/meiliLogger.tsindex 1341c328fd..0d4d39475b 100644--- a/packages/data-schemas/src/config/meiliLogger.ts+++ b/packages/data-schemas/src/config/meiliLogger.ts@@ -2,7 +2,7 @@ import path from 'path';import winston from 'winston';import 'winston-daily-rotate-file';-const logDir = path.join(__dirname, '..', 'logs');+const logDir = path.join(__dirname, '..', '..', '..', 'api', 'logs');const { NODE_ENV, DEBUG_LOGGING = 'false' } = process.env;diff --git a/packages/data-schemas/src/config/winston.ts b/packages/data-schemas/src/config/winston.tsindex 598d967394..7e52872962 100644--- a/packages/data-schemas/src/config/winston.ts+++ b/packages/data-schemas/src/config/winston.ts@@ -3,10 +3,8 @@ import winston from 'winston';import 'winston-daily-rotate-file';import { redactFormat, redactMessage, debugTraverse, jsonTruncateFormat } from './parsers';-// Define log directory-const logDir = path.join(__dirname, '..', 'logs');+const logDir = path.join(__dirname, '..', '..', '..', 'api', 'logs');-// Type-safe environment variablesconst { NODE_ENV, DEBUG_LOGGING, CONSOLE_JSON, DEBUG_CONSOLE } = process.env;const useConsoleJson = typeof CONSOLE_JSON === 'string' && CONSOLE_JSON.toLowerCase() === 'true';@@ -15,7 +13,6 @@ const useDebugConsole = typeof DEBUG_CONSOLE === 'string' && DEBUG_CONSOLE.toLowconst useDebugLogging = typeof DEBUG_LOGGING === 'string' && DEBUG_LOGGING.toLowerCase() === 'true';-// Define custom log levelsconst levels: winston.config.AbstractConfigSetLevels = {error: 0,warn: 1,