mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-10 08:13:46 +00:00
saveConvo now preserves a conversation's earlier ephemeral deadline instead of refreshing it, so the message cap can no longer be opt-in. A normal send to an existing ephemeral conversation whose parent already expires sooner saved the new message with a fresh, later TTL; saveConvo kept the parent at the earlier deadline and the cascade skipped (parent already conforms), leaving the new message to outlive the deleted conversation. Cap every forced-retention message save to the parent's deadline, not just the opt-in message-only paths. Message-only saves still backfill the parent's other messages and shares; normal saves only cap the message itself and let saveConvo and the cascade handle the rest. |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| data-provider | ||
| data-schemas | ||