Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔃 refactor: Parent Message ID Handling on Error, Update Translations, Bump Agents #5833

Merged
merged 4 commits into from
Feb 12, 2025

Conversation

danny-avila
Copy link
Owner

@danny-avila danny-avila commented Feb 12, 2025

Summary

I updated the message handling logic in our agents controllers to prioritize overrideParentMessageId, enhanced error handling in both AskController and EditController, upgraded the @librechat/agents dependency, and cleaned up our i18n files by removing obsolete translation keys.

  • Refactored AgentController so that parentMessageId is assigned using the priority order: overrideParentMessageId first, then userMessageId, then parentMessageId.
  • Revised AskController and EditController error handling to include overrideParentMessageId when reporting errors.
  • Upgraded the @librechat/agents package to version 2.0.5.
  • Cleaned up the translation JSON files across multiple locales by removing redundant keys.

Change Type

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • I have written tests demonstrating that my changes are effective or that my feature works
  • Local unit tests pass with my changes
  • Any changes dependent on mine have been merged and published in downstream modules.
  • A pull request for updating the documentation has been submitted.

@danny-avila danny-avila changed the title 🔃 refactor: Parent Message ID Handling on Canceled Gen., Update Translations, Bump Agents 🔃 refactor: Parent Message ID Handling on Error, Update Translations, Bump Agents Feb 12, 2025
@danny-avila danny-avila merged commit 4fa13f4 into main Feb 12, 2025
7 checks passed
@danny-avila danny-avila deleted the feat/alibaba-agents branch February 12, 2025 21:49
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.

1 participant