Skip to content

Conversation

ConstantTime
Copy link
Contributor

Summary

Adds documentation for the new temporaryChatRetention configuration option introduced in LibreChat PR #7917.

This feature allows administrators to configure how long temporary chats are retained before automatic deletion, replacing the hardcoded 30-day limit with flexible configuration from 1 hour to 1 year.

Changes Made

  • Added temporaryChatRetention to interface configuration subkeys table
  • Created dedicated documentation section explaining:
    • Configuration methods (environment variable vs config file)
    • Validation rules (min: 1 hour, max: 8760 hours, default: 720 hours)
    • Common retention periods with examples
    • Priority system and automatic fallback behavior

Example Configuration

interface:
  # Retain temporary chats for 7 days (168 hours)
  temporaryChatRetention: 168

Copy link

vercel bot commented Jun 16, 2025

@ConstantTime is attempting to deploy a commit to the LibreChat's projects Team on Vercel.

A member of the Team first needs to authorize it.

@ConstantTime ConstantTime force-pushed the feat/doc_update_temp_chat_retention branch from a576edb to bea8d5b Compare June 16, 2025 17:56
@ConstantTime ConstantTime changed the title Feat/doc update temp chat retention docs: add tempChatRetention config documentation Jun 16, 2025
@danny-avila danny-avila merged commit 6f9668d into LibreChat-AI:main Jul 7, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants