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

🔧 fix: Resizable Panel Unmount Error & Code Env. File Re-Upload #5947

Merged
merged 3 commits into from
Feb 19, 2025

Conversation

danny-avila
Copy link
Owner

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

Summary

  • Updated react‑resizable‑panels version in client/package.json (from ^2.1.1 to ^2.1.7) following the reported unmount error
  • Modified process.js to pass the Express request object to getDownloadStream for accurate file retrieval.
  • Revised the Firebase file stream function signature to include a request parameter, ensuring consistent use across strategies.
  • Refactored the local file stream function to extract and validate the base path from “/uploads/” paths; constructed a secure relative file path and logged warnings for invalid paths.

Other Changes

  • GoogleClient: prevent saving LibreChat feature-specific instructions to the user's custom instructions

Change Type
• [x] Bug fix (non‑breaking change which fixes an issue)

Checklist
• [x] My code adheres to this project's style guidelines.
• [x] I have performed a self‑review of my own code.
• [x] I have commented in complex areas to clarify the file path validation logic.
• [x] My changes do not introduce new warnings.
• [x] I have written tests demonstrating that my changes are effective.
• [x] Local unit tests pass with my changes.
• [x] Any changes dependent on mine have been merged and published in downstream modules.

@danny-avila danny-avila merged commit fdb3cf3 into main Feb 19, 2025
7 checks passed
@danny-avila danny-avila deleted the fix/agent-code-file-reupload branch February 19, 2025 19:53
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