chainlit
chainlit copied to clipboard
feat: expose expiry time as environment variable
trafficstars
The 1-hour expiry time for read-only URLs of elements in a chat leads to unusable URLs.
Some developers want a way to configure the EXPIRY_TIME, see https://discord.com/channels/1088038867602526210/1360221598279536800/1363216725641920825
Initially I thought it'd be a Chainlit config, but I thought it best to have it an environment variable, same as all the storage configurations.
- [ ] Write a test
- [ ] Test the change