Skip to content

Commit efe7709

Browse files
committed
fix(LLMModelManager): rename id to modelId for clarity in model items
1 parent 11b22ed commit efe7709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/kotlin/cc/unitmesh/devti/settings/model/LLMModelManager.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class LLMModelManager(
5656
githubModels?.forEach { model ->
5757
models.add(ModelItem(
5858
displayName = "Github: ${model.id}",
59-
id = model.id,
59+
modelId = model.id,
6060
isCustom = false
6161
))
6262
}
@@ -66,7 +66,7 @@ class LLMModelManager(
6666
userModels.forEach { llm ->
6767
models.add(ModelItem(
6868
displayName = llm.name,
69-
id = llm.name,
69+
modelId = llm.name,
7070
isCustom = true
7171
))
7272
}

0 commit comments

Comments
 (0)