mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-04 05:13:52 +00:00
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. |
||
|---|---|---|
| .. | ||
| controllers | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| cleanup.js | ||
| experimental.js | ||
| index.js | ||
| index.metrics.spec.js | ||
| index.spec.js | ||
| socialLogins.js | ||
| socialLogins.spec.js | ||
| telemetry.js | ||
| telemetry.spec.js | ||