LibreChat/packages/api
Marco Beretta e57aa3aa5b
🙊 fix: Keep API Keys and Internal Errors Out of Logs and Responses (#17258)
* fix: Keep API Keys and Internal Errors Out of Logs and Responses

The log redaction patterns did not cover the appid query parameter, so a
failed Wolfram request logged its AppID with the axios request URL. appid
now joins the redacted token and query names.

OpenWeather returned a fetch error's message to the model verbatim, and
node-fetch puts the full request URL, appid included, in that message. The
tool now passes it through redactMessage, as ToolService does.

The public startup config route and the unauthenticated password reset
route sent raw error text on unexpected failures. Both now answer with a
fixed message and keep the detail in the server log.

* refactor: Format Tool Error Text in packages/api

* fix: Redact appid Metadata Keys in Structured Logs
2026-10-19 21:36:46 +02:00
..
openapi 🗑️ feat: Expose Skill Deletion in Management API (#17005) 2026-10-16 09:05:03 -07:00
src 🙊 fix: Keep API Keys and Internal Errors Out of Logs and Responses (#17258) 2026-10-19 21:36:46 +02:00
types
.gitignore
babel.config.cjs
jest.config.mjs 🧠 perf: Recycle Backend Jest Workers Past 1GB (#17098) 2026-10-16 22:15:10 +02:00
jest.setup.cjs
package.json 📦 fix: Strip Assistant Prefill for Claude 5.x Models (#17209) 2026-10-17 21:42:18 +02:00
tsconfig.build.json
tsconfig.json 🥟 ci: Type-Check Workspaces with bun check (#17009) 2026-10-12 06:40:07 -04:00
tsconfig.openapi.json
tsconfig.spec.json
tsdown.config.mjs 🏋️ fix: Bound Host File Edits Outside the API Event Loop (#16677) 2026-10-02 20:54:46 -04:00