You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ollama is main configured provider.
I have a workspace with Anthropic configured.
When I initialized the connection it let me put in an api key.
Can’t edit it any more…
The workaround is to go edit the main app settings to point at the specific provider where the api key needs to be updated.
Then, update the api key and save.
Then, change the provider back to Ollama, or something else and save.
Finally, go back to the workspace and test.
That’s a lot of steps.
Seems like each provider should have sandboxed credential storage.
if I was able to add the api key in a workspace, I should be able to edit it there.
Are there known steps to reproduce?
See description
The text was updated successfully, but these errors were encountered:
timothycarambat
changed the title
[BUG]: Can’t update Anthropic or OpenAI api keys when workspace LLM preference differs from main app’s.
[FEAT]: Per-workspace LLM credentials
May 17, 2024
Yeah I now realize this can be hard to work into the usership model. The best approach to this would be to define a provider settings screen that could apply to both workspace and globally. An admin user would initialize the env and open up this screen to input the top level api keys for each LLM provider they use. It could be both OpenAI and anthropic, for example. The admin could even gate which providers show up in workspace dropdowns by checking boxes next to each provider. Then, anytime a workspace uses one of those providers, the corresponding key is used. At the workspace level, a non-admin user would just override/augment the admin settings by plugging a different API Key into this screen, if they wish. In cases where the admin api key might have issues, it might be valuable (or on the other hand potentially destructive) for a non-admin to go in and update the workspace key. Use case: customer facing chat bot out of tokens and admin not in town
How are you running AnythingLLM?
Docker (local)
What happened?
Ollama is main configured provider.
I have a workspace with Anthropic configured.
When I initialized the connection it let me put in an api key.
Can’t edit it any more…
The workaround is to go edit the main app settings to point at the specific provider where the api key needs to be updated.
Then, update the api key and save.
Then, change the provider back to Ollama, or something else and save.
Finally, go back to the workspace and test.
That’s a lot of steps.
Seems like each provider should have sandboxed credential storage.
if I was able to add the api key in a workspace, I should be able to edit it there.
Are there known steps to reproduce?
See description
The text was updated successfully, but these errors were encountered: