LibreChat/api
Marco Beretta cc4533d554
fix: apply forced retention before creating a share
The share route enforced retention after createSharedLink and the permission
grant. If the cascade threw at that point, the client got a 500 with a live
share already created, and a retry never reached the cascade again because
createSharedLink rejects when an active share exists — leaving a valid share
whose source conversation stays non-temporary and non-expiring under ephemeral
mode.

Convert the source conversation first: a failed share attempt (or an
existing-share retry) still converts the touched chat, and the share expiration
resolution now reads the converted conversation's deadline.
2026-07-24 16:22:39 +02:00
..
app 🙋 fix: Await ask_user_question Tool Factory in loadTools (#14291) 2026-07-15 13:41:55 -04:00
cache 📉 perf: cache OpenID JWT user documents (#14187) 2026-07-12 07:53:50 -04:00
config 🪵 refactor: Bound Log Traversal And Remove Legacy api/config Logger (#13813) 2026-06-17 12:31:32 -04:00
db ⚖️ feat: Add Operational Prometheus Metrics (#13265) 2026-05-22 20:47:41 -04:00
models 🧩 fix: Preserve Deployment Skill IDs on Agents (#14368) 2026-07-21 19:44:27 -04:00
server fix: apply forced retention before creating a share 2026-07-24 16:22:39 +02:00
strategies 📉 perf: cache OpenID JWT user documents (#14187) 2026-07-12 07:53:50 -04:00
test fix: use logAxiosError at the RAG file_search/context call sites (#14014) 2026-06-30 20:35:01 -04:00
utils feat: Add Gemini 3.6 Flash and Gemini 3.5 Flash-Lite Support (#14369) 2026-07-21 21:14:11 -04:00
jest.config.js 📦 chore: npm audit fix (#13828) 2026-06-17 21:54:04 -04:00
jsconfig.json
package.json 📦 chore: Update @librechat/agents to v3.2.68 (#14380) 2026-07-21 21:40:54 -04:00
typedefs.js 🧬 chore: Align LibreChat With Agents LangChain Upgrade (#12922) 2026-05-03 12:46:01 -04:00