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 · 0 comments
Open

Add enable/disable option for providers #553

AnonTester opened this issue May 16, 2024 · 0 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
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

1 participant