LibreChat/packages/api/src
Marco Beretta 4a3b3a2e1a
⚖️ fix: Apply User and Group Balance Overrides on Sign-In (#17884)
* fix: Resolve User and Group Balance Overrides on Sign-In

Login routes pass the lean user document from the passport strategy, which has _id but no id, so the balance sync resolved config from the role alone and wrote role-level balance settings over user and group overrides on every login.

* test: Cover the Sign-In Balance Sync With a User Override Scenario
2026-11-08 00:07:33 +01:00
..
acl
actions
admin 🧷 fix: Skip Config Overrides LibreChat Never Applies and Apply librechat.yaml's fileListLimit (#17820) 2026-11-05 05:56:39 -05:00
agents 🩺 fix: Report Union, Object, Array and Later Fields in Tool Validation Feedback (#17885) 2026-11-08 00:00:58 +01:00
apiKeys
app 🪪 feat: Name the Build and Config in Telemetry, Configure Stack Depth, Keep Scoped Frames (#17515) 2026-10-31 11:44:23 -04:00
artifacts
assistants ✒️ fix: Bind Assistant Avatar Updates to Authorized Owners (#17391) 2026-10-24 10:16:16 +02:00
auth 🔐 fix: Retire Credentials by Their Committing Write and on Opt-In 2FA (#17504) 2026-11-05 22:53:11 +01:00
cache 🗂️ perf: Index Hot Lookups and Fix the Message Cursor (#17464) 2026-10-28 00:55:02 +01:00
cdn
clientlimits 🪶 fix: Time Out Client Refresh and Trim Lodash Imports (#17467) 2026-10-27 23:30:08 +01:00
cluster
code 🚤 fix: Keep Host Tool Loading Independent of Worker Status (#17628) 2026-10-29 22:13:10 +01:00
conversations
crypto
db 🏨 fix: Restore Strict Tenant Startup and Sign-In (#17441) 2026-10-26 01:08:30 +01:00
endpoints 🧠 fix: Let Native Azure Deployments Declare Their Reasoning Efforts (#17851) 2026-11-06 19:12:02 +01:00
favorites 🧊 fix: Fence Auth User Cache Writes After Eviction and Evict Favorite Holders (#17505) 2026-10-29 17:44:51 +01:00
files 🎋 fix: Scope Document Replay Budgets to Each Message (#17687) 2026-10-31 15:11:42 -04:00
flow 🔐 fix: Fence ACL Viewers and Surface Revocation Failures When Removing Shared MCP Servers (#17506) 2026-10-28 00:37:07 +01:00
html
images ✒️ fix: Bind Assistant Avatar Updates to Authorized Owners (#17391) 2026-10-24 10:16:16 +02:00
insights
langfuse 🔗 feat: Link Langfuse Prompts as Agent Instructions (#17294) 2026-10-30 17:28:37 +01:00
mcp 🔑 perf: Cache JWT Users and Batch Auth-Path Reads (#17466) 2026-10-30 00:24:08 +01:00
memory
messages 🗂️ perf: Index Hot Lookups and Fix the Message Cursor (#17464) 2026-10-28 00:55:02 +01:00
middleware ⚖️ fix: Apply User and Group Balance Overrides on Sign-In (#17884) 2026-11-08 00:07:33 +01:00
modelSpecs 🧠 fix: Let Native Azure Deployments Declare Their Reasoning Efforts (#17851) 2026-11-06 19:12:02 +01:00
oauth 🫢 fix: Keep OAuth Credentials Out of Logs (#17409) 2026-10-24 09:43:06 +02:00
openapi 🔗 feat: Link Langfuse Prompts as Agent Instructions (#17294) 2026-10-30 17:28:37 +01:00
plugins
projects 🪠 fix: Erase Vectors in Their Recorded Namespaces (#17457) 2026-10-26 22:26:11 +01:00
prompts 🔗 feat: Link Langfuse Prompts as Agent Instructions (#17294) 2026-10-30 17:28:37 +01:00
protection 🦭 fix: Require Full-Length Private Text Authentication Tags (#17646) 2026-10-30 15:12:02 +01:00
pulls 🔎 fix: Quiet Initial PR Discovery Failures and Add Safe Diagnostics (#17436) 2026-10-25 23:18:10 +01:00
rum
schedules 🏎️ perf: Parallelize Independent Agent and Schedule Lookups (#17465) 2026-10-28 18:59:16 +01:00
security
shared-links 📊 feat: Let Deployments Skip the Analytics Consent Prompt (#17552) 2026-10-29 08:55:00 +01:00
skills 📂 fix: Reject Missing Deployment Skill Files Before Upload (#17876) 2026-11-07 00:51:45 +01:00
storage ⏱️ fix: Bound Remaining Outbound Calls With Timeout Budgets (#17468) 2026-10-29 09:55:18 +01:00
stream 🐘 fix: Preserve Authored Skills Across Approval Resumes (#17630) 2026-10-29 22:17:03 +01:00
telemetry 🪪 feat: Name the Build and Config in Telemetry, Configure Stack Depth, Keep Scoped Frames (#17515) 2026-10-31 11:44:23 -04:00
tools 🧯 fix: Return Approved Tool and Generation Error Text Instead of Raw Exceptions (#17508) 2026-10-28 00:39:01 +01:00
traces
types 🐘 fix: Preserve Authored Skills Across Approval Resumes (#17630) 2026-10-29 22:17:03 +01:00
user 🔑 perf: Cache JWT Users and Batch Auth-Path Reads (#17466) 2026-10-30 00:24:08 +01:00
utils 🔑 perf: Cache JWT Users and Batch Auth-Path Reads (#17466) 2026-10-30 00:24:08 +01:00
web
credentials.spec.ts
credentials.ts
imports.spec.ts
imports.ts
index.spec.ts 🧬 feat: Re-Derive Azure Groups, Vertex AI, Custom Parameters and Spec Defaults for Config Profiles (#17399) 2026-10-24 11:46:01 +02:00
index.ts 🪶 fix: Time Out Client Refresh and Trim Lodash Imports (#17467) 2026-10-27 23:30:08 +01:00
telemetry.ts