Draft
Conversation
ce65743 to
00025ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Template
Summary
Adds a per‑user scheduling system that can run an agent automatically on a cron schedule, create a new conversation on success, and record failures. Users can create multiple schedules per agent and edit/enable/disable them from the new Scheduled Tasks panel. The UI includes a zero‑knowledge cron builder (minute/hour/day/month dropdowns) with a human‑readable preview plus an Advanced mode for direct cron input; timezone is required. On the backend, a scheduler service executes tasks with queueing/concurrency limits, max runtime enforcement, and failure logging; it uses the latest agent version at run time and supports agent variables (e.g., {{current_date}}). Admins can set a global minimum interval and max concurrent runs in librechat.yaml to prevent spikes.
Change Type
Please delete any irrelevant options.
Testing
This is a draft, all code is generated by codex.
I will add a test suite and documentation if it has some chance to be accepted.
Test Configuration:
Checklist
Please delete any irrelevant options.