Open
Conversation
Sync from upstream
Sync from upstream
This commit introduces a new ReorderCalculator tool that helps calculate optimal reorder quantities and dates based on historical sales data. Key features: - Seasonal demand analysis with month-by-month calculations - Support for annual growth trends - Sophisticated lead time handling with partial month support - Statistical safety stock calculations - Minimum operational stock enforcement - Detailed reorder date estimation The calculator takes into account: - Historical sales data (monthly) - Lead time (configurable, default 80 days) - Service level (configurable, default 95%) - Annual growth rate - Safety stock (optional override) - Minimum operational stock (default 5 units) Technical improvements: - Proper variance calculations for seasonal data - Month-based calculations with utility functions - Growth factor scaling for forecasts - Detailed error handling and logging
Integration of the new ReorderCalculator tool into LibreChat's tool system: 1. manifest.json: - Added tool metadata with pluginKey 'reorder_calculator' - Set up tool description and icon 2. index.js: - Added ReorderCalculator import - Exported ReorderCalculator in module exports 3. handleTools.js: - Added ReorderCalculator to tool constructors - Registered with key 'reorder_calculator' This completes the integration of the ReorderCalculator tool, making it available for use in the chat system.
…coming orders - Add time-based weighting to historical data analysis - Support tracking of incoming orders during lead time - Improve variance calculations with weighted statistics - Add detailed code documentation - Implement Z-score lookup table for service levels
b3f653a to
c7ff7b8
Compare
c7ff7b8 to
3de7ff6
Compare
3de7ff6 to
bbb16d5
Compare
sepa85
pushed a commit
that referenced
this pull request
Nov 25, 2025
* Adding helm oci publishing (#3) Signed-off-by: Clay Rosenthal <clayros@amazon.com> * Update chart version Signed-off-by: Clay Rosenthal <clayros@amazon.com> * Update helm release Signed-off-by: Clay Rosenthal <clayros@amazon.com> * Update helm chart package path Signed-off-by: Clay Rosenthal <clayros@amazon.com> --------- Signed-off-by: Clay Rosenthal <clayros@amazon.com>
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.
Description:
regenerates the Unreleased changelog, removes any old Unreleased block, and inserts the new content.