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

Add enable/disable option for providers #553

Open
AnonTester opened this issue May 16, 2024 · 2 comments
Open

Add enable/disable option for providers #553

AnonTester opened this issue May 16, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@AnonTester
Copy link

Describe the need of your request

I'm using the plugin with a local openai compatible provider and do not want any of my code or code parts to be sent to any external provider. It's been the second time now that after an update of the plugin, my selected provider was reset and and I only noticed because I got an error message pop up that code completion isn't allowed without auth token. The latest update changed the selected provider to Ollama (Local) from my previous Custom OpenAI setting.

Proposed solution

Add toggles in the settings to enable/disable the AI providers that one wants to use. This would reduce the provider selection in the sidebar chat window to only the enabled ones.

Checkboxes on this setting screen to enable each provider would do the job just fine:
image

Additional context

Related to this issue is the reset of settings or selected provider in an update - which should not happen. If there are changes that prevent retention of the selection, then I suggest to disable ALL providers by default rather than risking sensitive code or questions to be sent to an external provider, potentially causing data protection issues.

Thank you very much for this plugin!

@AnonTester AnonTester added the enhancement New feature or request label May 16, 2024
@Rikj000
Copy link

Rikj000 commented Jul 2, 2024

Additional context

Related to this issue is the reset of settings or selected provider in an update - which should not happen. If there are changes that prevent retention of the selection, then I suggest to disable ALL providers by default rather than risking sensitive code or questions to be sent to an external provider, potentially causing data protection issues.

I second this,
it's very annoying that after each update of CodeGPT my Selected provider
(= Custom OpenAI, for a locally hosted model),
is reset back to an online option.

I do not want an online connection with any LLM,
since I do not trust them with my data, nor do I want them to train upon my data.

Please resolve this.

@ralfstrobel
Copy link

ralfstrobel commented Oct 11, 2024

I second this request as well. The better visual separation from #681 is good but honestly only made the menu even larger. Especially for users that have only one dedicated local or cloud provider enabled, there is not even a need for the menu to be cascading.

Btw, if the hosted CodeGPT services always need to be in the menu for promo reasons that's fine, as long as you get an error if you attempt to use them. But in that case it should at least be possible to disable the free options that will actually send your code somewhere you may not want it to be.

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