File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
core/src/main/kotlin/cc/unitmesh/devti/settings Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package cc.unitmesh.devti.settings
2
2
3
3
import cc.unitmesh.devti.AutoDevBundle
4
4
import cc.unitmesh.devti.custom.schema.AUTODEV_CUSTOM_LLM_FILE
5
+ import cc.unitmesh.devti.provider.local.JsonTextProvider
5
6
import cc.unitmesh.devti.settings.locale.HUMAN_LANGUAGES
6
7
import cc.unitmesh.devti.settings.locale.LanguageChangedCallback
7
8
import cc.unitmesh.devti.settings.locale.LanguageChangedCallback.jBLabel
@@ -17,7 +18,6 @@ import com.intellij.util.ui.FormBuilder
17
18
import javax.swing.JPanel
18
19
19
20
class LLMSettingComponent (private val settings : AutoDevSettingsState ) {
20
- // 以下 LLMParam 变量不要改名,因为这些变量名会被用作配置文件的 key
21
21
private val languageParam by LLMParam .creating({ LanguageChangedCallback .language = it }) {
22
22
ComboBox (settings.language, HUMAN_LANGUAGES .entries.map { it.display })
23
23
}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import cc.unitmesh.devti.custom.schema.CUSTOM_PROMPTS_FILE_NAME
6
6
import cc.unitmesh.devti.custom.schema.MCP_SERVERS_FILE_NAME
7
7
import cc.unitmesh.devti.fullHeight
8
8
import cc.unitmesh.devti.fullWidthCell
9
+ import cc.unitmesh.devti.provider.local.JsonTextProvider
9
10
import cc.unitmesh.devti.settings.locale.LanguageChangedCallback.componentStateChanged
10
11
import cc.unitmesh.devti.settings.locale.LanguageChangedCallback.jBLabel
11
12
import cc.unitmesh.devti.settings.locale.LanguageChangedCallback.placeholder
You can’t perform that action at this time.
0 commit comments