Skip to content

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

Open
@Yaronbaroz18

Description

@Yaronbaroz18

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions