carlrobertoh / CodeGPT

The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like.
https://codegpt.ee
Apache License 2.0
1.01k stars 213 forks source link

Cannot export custom openai settings #607

Closed imClumsyPanda closed 2 months ago

imClumsyPanda commented 3 months ago

Describe the need of your request

When i try to export pycharm settings of codegpt, to share codegpt settings with others, it’s not working with custom openai api settings.

After clicking File - Manage IDE Settings - Export Settings, there’re few settings about codegpt, like CodeGPT, CodeGPT_AdvancedSettings_210, CodeGPT_ConfigurationSettings_210 , CodeGPT_GeneralSettings_270, , CodeGPT_OllamaSettings_210, but no options of custom openai api settings which is my default provider.

Proposed solution

Add export settings option for Custom OpenAI

Additional context

No response

carlrobertoh commented 2 months ago

The custom OpenAI API settings can be found in the file CodeGPT_CustomServiceSettings.xml.

imClumsyPanda commented 2 months ago

The custom OpenAI API settings can be found in the file CodeGPT_CustomServiceSettings.xml.

Thanks! I’ve found those xmls last week and directly shared them with other users and copied to their setting location.

Maybe support pycharm setting export will be more convenient.