Skip to content

Commit c4718a3

Browse files
committed
fix(connection): rest result before flow start
1 parent 85d88a2 commit c4718a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ fun Panel.testLLMConnection(project: Project?) {
1414
// test result
1515
val result = JLabel("")
1616
button("Test LLM Connection") {
17-
if (project == null) {
18-
return@button
19-
}
17+
if (project == null) return@button
18+
result.text = ""
19+
2020
// test custom engine
2121
LLMCoroutineScope.scope(project).launch {
2222
try {

0 commit comments

Comments
 (0)