Skip to content

Commit caa6b88

Browse files
committed
refactor(llms): remove XingHuoProvider and related configurations
Removed XingHuoProvider and its configurations from the project.
1 parent 817ed5c commit caa6b88

File tree

3 files changed

+0
-186
lines changed

3 files changed

+0
-186
lines changed

src/main/kotlin/cc/unitmesh/devti/llms/LlmFactory.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import cc.unitmesh.devti.llms.azure.AzureOpenAIProvider
44
import cc.unitmesh.devti.llms.custom.CustomLLMProvider
55
import cc.unitmesh.devti.llms.custom.InlayCustomLLMProvider
66
import cc.unitmesh.devti.llms.openai.OpenAIProvider
7-
import cc.unitmesh.devti.llms.xianghuo.XingHuoProvider
87
import cc.unitmesh.devti.settings.AIEngines
98
import cc.unitmesh.devti.settings.AutoDevSettingsState
109
import cc.unitmesh.devti.settings.coder.AutoDevCoderSettingService
@@ -23,7 +22,6 @@ class LlmFactory {
2322
AIEngines.OpenAI -> project.getService(OpenAIProvider::class.java)
2423
AIEngines.Custom -> project.getService(CustomLLMProvider::class.java)
2524
AIEngines.Azure -> project.getService(AzureOpenAIProvider::class.java)
26-
AIEngines.XingHuo -> project.getService(XingHuoProvider::class.java)
2725
}
2826
}
2927

src/main/kotlin/cc/unitmesh/devti/llms/xianghuo/XingHuoProvider.kt

Lines changed: 0 additions & 178 deletions
This file was deleted.

src/main/kotlin/cc/unitmesh/devti/settings/LLMSettingComponent.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ class LLMSettingComponent(private val settings: AutoDevSettingsState) {
7474
customEngineResponseFormatParam,
7575
customEngineRequestBodyFormatParam,
7676
),
77-
AIEngines.XingHuo to listOf(
78-
xingHuoApiVersionParam,
79-
xingHuoAppIDParam,
80-
xingHuoApiKeyParam,
81-
xingHuoApiSecretParam,
82-
),
8377
)
8478

8579

0 commit comments

Comments
 (0)