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

WIP ✨ feat: Implement Group Management with Create and Assign Functionality #5934

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rubentalstra
Copy link
Collaborator

@rubentalstra rubentalstra commented Feb 18, 2025

Summary

This pull request introduces a new Group model to the API, allowing for the creation and assignment of user groups. The changes include the addition of a new schema, updates to existing models, and new scripts for managing groups. Below are the most important changes:

Group Model Introduction:

Integration with Existing Models:

Group Management Scripts:

  • config/create-group.js: Added a script to create new groups, including prompts for group details and validation.
  • config/assign-group.js: Added a script to assign existing groups to users, with validation and error handling.

Package Configuration:

  • package.json: Updated the scripts section to include commands for creating and assigning groups.

Change Type

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Testing

Test Configuration:

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.

@rubentalstra rubentalstra added the ✨ enhancement New feature or request label Feb 18, 2025
@rubentalstra rubentalstra self-assigned this Feb 18, 2025
@maxesse
Copy link
Contributor

maxesse commented Feb 21, 2025

Hi @rubentalstra here's the group-based modelspecs filtering feature I developed on my fork: https://github.com/maxesse/LibreChat/tree/feat/group-based-modelspecs-access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants