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

[FEAT]: Allow manager role to view models for known providers, but not update #3282

Open
Yaronbaroz18 opened this issue Feb 19, 2025 · 2 comments · May be fixed by #3284
Open

[FEAT]: Allow manager role to view models for known providers, but not update #3282

Yaronbaroz18 opened this issue Feb 19, 2025 · 2 comments · May be fixed by #3284
Labels
enhancement New feature or request feature request

Comments

@Yaronbaroz18
Copy link

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Hi,

I am facing an issue where, when accessing the Workspace Chat Settings in AnythingLLM with a manager role, the list of Ollama models does not update. However, for users with an admin role, the model list updates correctly when performing the same action.

Environment:
AnythingLLM Version: 1.7.4

Are there known steps to reproduce?

Navigate to the Chat Settings.
Observe that the list of Ollama models does not update.
Log in as a user with an admin role and perform the same steps.
Notice that the list of Ollama models updates correctly for admin users.
Expected Behavior: The list of Ollama models should update for both manager and admin roles when accessing the Chat Settings.

@Yaronbaroz18 Yaronbaroz18 added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Feb 19, 2025
timothycarambat added a commit that referenced this issue Feb 19, 2025
@timothycarambat timothycarambat linked a pull request Feb 19, 2025 that will close this issue
11 tasks
@timothycarambat timothycarambat added enhancement New feature or request feature request and removed possible bug Bug was reported but is not confirmed or is unable to be replicated. labels Feb 19, 2025
@timothycarambat timothycarambat changed the title [BUG]: Ollama Model List Not Updating for Manager Role in Chat Settings [FEAT]: Allow manager role to view models for know providers, but not update Feb 19, 2025
@timothycarambat timothycarambat changed the title [FEAT]: Allow manager role to view models for know providers, but not update [FEAT]: Allow manager role to view models for known providers, but not update Feb 19, 2025
@Yaronbaroz18
Copy link
Author

Yaronbaroz18 commented Feb 25, 2025

hi
Can you explain the concept please

  1. why manager is the first role that can upload files to workspace but can't choose the workspace model?
  2. if only admin role can change the model (a basic action that any user need for my opinion) - why we have the manager role in the middle?

Thanks a lot
Yaron

@timothycarambat
Copy link
Member

timothycarambat commented Feb 25, 2025

Admins can change the global LLM, embedder, and vector db as well as other settings. They really should not even be used in a chat capacity. In this PR (#3284), managers will be able to choose the model per-workspace if previoulsy auth'd by admin to use that LLM so I am not sure what you are asking, that is what we are fixing.

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

Successfully merging a pull request may close this issue.

2 participants