LibreChat/api/server/controllers/agents
Marco Beretta 0fb840a2b0
fix: cap agent abort and disconnect partial saves to the parent expiry
The agents /chat/abort endpoint and the resumable disconnect handler save a
partial response through saveMessage without saveConvo following, but did not
pass capExpiryToConversation. In an ephemeral deployment with a parent that
already has an earlier active expiredAt, the partial response got a freshly
computed later deadline and outlived its conversation.

Pass the same cap metadata used by the other message-only abort path so the
partial response cannot outlive its parent. If generation later completes, the
normal response-end save re-stamps the message with a fresh deadline.
2026-07-24 16:21:59 +02:00
..
__tests__ 🎟️ fix: Claim Idempotency Keys to Dedup Retried Generation Requests and Prevent Double Billing (#14344) 2026-07-21 08:16:31 -04:00
callbacks.background.spec.js 🧵 feat: Native Background Execution for Code Interpreter Tools (#14386) 2026-07-22 22:13:15 -04:00
callbacks.js 🧵 feat: Native Background Execution for Code Interpreter Tools (#14386) 2026-07-22 22:13:15 -04:00
client.js 🎞️ fix: Surface Clear Error for Unprocessable Gemini YouTube Videos (#14396) 2026-07-22 12:11:06 -04:00
client.test.js 🪝 feat: Human-in-the-Loop Runtime - Tool Approval + Ask-User-Question (Slice B) (#13942) 2026-06-29 16:56:41 -04:00
errors.js
filterAuthorizedTools.spec.js 🧠 feat: Add Memory as an Agent Capability with Inline Tools and Ephemeral Badge (#13869) 2026-06-24 17:14:13 -04:00
openai.js 🧵 feat: Background Tool Calls for Agents & Model Specs (#14197) 2026-07-13 12:51:36 -04:00
recordCollectedUsage.spec.js
request.js fix: cap agent abort and disconnect partial saves to the parent expiry 2026-07-24 16:21:59 +02:00
responses.js 🧵 feat: Background Tool Calls for Agents & Model Specs (#14197) 2026-07-13 12:51:36 -04:00
resume.js 🧭 feat: Mid-Run Steering and Queued Messages for Agent Runs (#14220) 2026-07-14 10:11:10 -04:00
steer.js 🧭 feat: Mid-Run Steering and Queued Messages for Agent Runs (#14220) 2026-07-14 10:11:10 -04:00
v1.js 🧩 fix: Preserve Deployment Skill IDs on Agents (#14368) 2026-07-21 19:44:27 -04:00
v1.spec.js 🧩 fix: Preserve Deployment Skill IDs on Agents (#14368) 2026-07-21 19:44:27 -04:00