[BUG]: "Generic OpenAI" LLM Provider can not be edited #1312

Closed
opened 2026-02-22 18:24:13 -05:00 by yindo · 4 comments
Owner

Originally created by @cougarten on GitHub (Aug 1, 2024).

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Selecting "Generic OpenAI" in a workspace for the first time shows all the settings/input fields to set it up. Once confirmed it is impossible to get back to this settings screen to change things.

Ugly workarround: delete the config for "Generic OpenAI" manually.

Are there known steps to reproduce?

Steps to reproduce:

  • start with an installation that has "Generic OpenAI" LLM Provider set
  • create a new workspace
  • go to settings -> "chat settings", of that workspace
  • select "Generic OpenAI" as the LLM Provider
  • enter any details so it allows you to save (does not have to work)
  • (optionally: close the settings, try using the workspace)
  • go to settings -> "chat settings" again
  • (optionally: choose any other LLM Provider)
  • choose "Generic OpenAI" as teh LLM Provider again

Expected Outcome:

  • The initial pop-over dialog appears again
  • I see the details I previously entered
  • I can change the connection settings

Actual outcome:

  • I can select "Generic OpenAI", but no pop-over dialog appears
  • even new workspaces don't show it
Originally created by @cougarten on GitHub (Aug 1, 2024). Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (remote machine) ### What happened? Selecting "Generic OpenAI" in a workspace for the first time shows all the settings/input fields to set it up. Once confirmed it is impossible to get back to this settings screen to change things. Ugly workarround: delete the config for "Generic OpenAI" manually. ### Are there known steps to reproduce? **Steps to reproduce:** - start with an installation that has "Generic OpenAI" LLM Provider set - create a new workspace - go to settings -> "chat settings", of that workspace - select "Generic OpenAI" as the LLM Provider - enter any details so it allows you to save (does not have to work) - (optionally: close the settings, try using the workspace) - go to settings -> "chat settings" again - (optionally: choose any other LLM Provider) - choose "Generic OpenAI" as teh LLM Provider again *Expected Outcome:* - The initial pop-over dialog appears again - I see the details I previously entered - I can change the connection settings *Actual outcome:* - I can select "Generic OpenAI", but no pop-over dialog appears - even new workspaces don't show it
yindo added the possible bugblockedinvestigating labels 2026-02-22 18:24:13 -05:00
yindo closed this issue 2026-02-22 18:24:13 -05:00
Author
Owner

@linxiaohui commented on GitHub (Sep 30, 2024):

+1

@linxiaohui commented on GitHub (Sep 30, 2024): +1
Author
Owner

@shatfield4 commented on GitHub (Sep 30, 2024):

@cougarten @linxiaohui Can you please explain to me what your use case is for this feature? Implementing this will take significant backend changes because the way we have providers setup currently, you cannot change things like the base URL, API key, context windows, or max tokens easily. We can however add a model field to this provider.

Is your goal to use multiple different providers using the Generic OpenAI provider in the workspace? If so please let us know which providers you are using and we can add these as additional providers so you don't have to use the Generic OpenAI provider to do this.

If your goal is to use the same provider but with different models I will be adding an input field to this provider.

@shatfield4 commented on GitHub (Sep 30, 2024): @cougarten @linxiaohui Can you please explain to me what your use case is for this feature? Implementing this will take significant backend changes because the way we have providers setup currently, you cannot change things like the base URL, API key, context windows, or max tokens easily. We can however add a model field to this provider. Is your goal to use multiple different providers using the Generic OpenAI provider in the workspace? If so please let us know which providers you are using and we can add these as additional providers so you don't have to use the Generic OpenAI provider to do this. If your goal is to use the same provider but with different models I will be adding an input field to this provider.
Author
Owner

@linxiaohui commented on GitHub (Oct 8, 2024):

@cougarten @linxiaohui Can you please explain to me what your use case is for this feature? Implementing this will take significant backend changes because the way we have providers setup currently, you cannot change things like the base URL, API key, context windows, or max tokens easily. We can however add a model field to this provider.

Is your goal to use multiple different providers using the Generic OpenAI provider in the workspace? If so please let us know which providers you are using and we can add these as additional providers so you don't have to use the Generic OpenAI provider to do this.

If your goal is to use the same provider but with different models I will be adding an input field to this provider.

for me, it is because I had wrongly set the parameters, and wanted to change them

@linxiaohui commented on GitHub (Oct 8, 2024): > @cougarten @linxiaohui Can you please explain to me what your use case is for this feature? Implementing this will take significant backend changes because the way we have providers setup currently, you cannot change things like the base URL, API key, context windows, or max tokens easily. We can however add a model field to this provider. > > Is your goal to use multiple different providers using the Generic OpenAI provider in the workspace? If so please let us know which providers you are using and we can add these as additional providers so you don't have to use the Generic OpenAI provider to do this. > > If your goal is to use the same provider but with different models I will be adding an input field to this provider. for me, it is because I had wrongly set the parameters, and wanted to change them
Author
Owner

@cougarten commented on GitHub (Oct 8, 2024):

I'm currently not using it anymore, but yea:

  1. fixing mistakes or changing credentials
  2. using multiple different providers
@cougarten commented on GitHub (Oct 8, 2024): I'm currently not using it anymore, but yea: 1. fixing mistakes or changing credentials 2. using multiple different providers
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1312