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

Enhancement: Different settings of "parameters" for admin #4910

Closed
1 task done
dvejsada opened this issue Dec 9, 2024 · 3 comments
Closed
1 task done

Enhancement: Different settings of "parameters" for admin #4910

dvejsada opened this issue Dec 9, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@dvejsada
Copy link

dvejsada commented Dec 9, 2024

What features would you like to see added?

Currently the UI settings in librechat.yaml apply to all users without difference whether it is admin or regular user. However, in some cases, this may create issues.

For example, if I want to use Assistant or Agent as ModelSpec endpoint, I have to first enable "parameters" for all to be able to create respective Assistant or Agent, then change librechat.yaml and restart to disable parameters. If I want to edit the Agent later, I have to again enable parameters for all, change the Agent, and disable them again (having to restart the container twice in the process).

Therefore, it will be nice to have a different settings of "parameters" with respect to admin and to regular users, to allow editing assistants/agents on the fly without exposing the settings to regular users.

More details

The above may also be useful in case of other settings as well, this case is however I believe the most prominent (other settings usually disable whole feature so there is no point for different settings for admin).

Which components are impacted by your request?

UI, Endpoints

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dvejsada dvejsada added the enhancement New feature or request label Dec 9, 2024
@maxesse
Copy link
Contributor

maxesse commented Dec 9, 2024

Hi there, I implemented this in my instance, I didn't push it as a PR because I assume it will be done more cleanly in future with the upcoming admin panel. It's a small change though, you can apply this diff to UseSidenavLinks.ts and assistantbuilder will appear for admins regardless of the settings in the config - i had the same issue as you.

assistantBuilderForAdmins.patch

@danny-avila
Copy link
Owner

danny-avila commented Dec 9, 2024

This is already implemented for Agents (only viewable to admins):

image
firefox_NdjgZgoLAV

I will be adding a dropdown specifying the role to make this more clear which role these settings are being applied to

@danny-avila
Copy link
Owner

In regards to Agents/Prompts, this is addressed by #4922

Also, in general, role-based librechat.yaml settings are planned for #3137

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

No branches or pull requests

3 participants