Skip to content

Commit 71c3db9

Browse files
committed
feat(editor): set "Default" as fallback model name #371
Use "Default" instead of "No LLMs configured" when no LLMs are available. This provides a more neutral and user-friendly default option
1 parent edaf0b6 commit 71c3db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/cc/unitmesh/devti/mcp/editor/McpPreviewEditor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ open class McpPreviewEditor(
143143

144144
val llmConfigs = LlmConfig.load()
145145
val modelNames = if (llmConfigs.isEmpty()) {
146-
arrayOf("No LLMs configured")
146+
arrayOf("Default")
147147
} else {
148148
llmConfigs.map { it.name }.toTypedArray()
149149
}

0 commit comments

Comments
 (0)