chore: enable code completion by default

This commit is contained in:
carlrobertoh@gmail.com 2025-02-10 19:18:10 +00:00
parent aae4c69446
commit 220eddd4b2
3 changed files with 5 additions and 1 deletions

View file

@ -79,6 +79,9 @@ class CodeGPTServiceForm {
)
.addVerticalGap(4)
.addComponent(codeCompletionsEnabledCheckBox)
.addComponent(
UIUtil.createComment("settingsConfigurable.service.codegpt.enableCodeCompletion.comment", 90)
)
.addComponentFillVertically(JPanel(), 0)
.panel

View file

@ -21,6 +21,6 @@ class CodeGPTServiceChatCompletionSettingsState : BaseState() {
}
class CodeGPTServiceCodeCompletionSettingsState : BaseState() {
var codeCompletionsEnabled by property(false)
var codeCompletionsEnabled by property(true)
var model by string("codestral")
}

View file

@ -43,6 +43,7 @@ settingsConfigurable.service.codegpt.apiKey.comment=You can find the API key in
settingsConfigurable.service.codegpt.chatCompletionModel.comment=Choose a model optimized for conversational interactions, including assistance with general queries and explanations.
settingsConfigurable.service.codegpt.codeCompletionModel.comment=Choose a model tailored for code completion-related tasks.
settingsConfigurable.service.codegpt.enableCodeAssistant.comment=If checked, Code Assistant will suggest related code updates as you make changes.
settingsConfigurable.service.codegpt.enableCodeCompletion.comment=If checked, CodeGPT will suggest changes as you type.
settingsConfigurable.service.custom.openai.apiKey.comment=A secret value stored in the system's Keychain or KeePass, depending on your OS. This approach is recommended over storing the secret in the header as plain text.
settingsConfigurable.service.custom.openai.apiKey.provider.name=Custom provider name:
settingsConfigurable.service.openai.apiKey.comment=You can find the API key in your <a href="https://platform.openai.com/account/api-keys">User settings</a>.