We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf870c commit 95a0088Copy full SHA for 95a0088
core/src/main/kotlin/cc/unitmesh/devti/sketch/SketchInputListener.kt
@@ -57,6 +57,8 @@ open class SketchInputListener(
57
open fun getInitPrompt(): String = systemPrompt
58
59
override fun manualSend(userInput: String) {
60
+ if (userInput.trim().isEmpty() || userInput.trim().isBlank()) return
61
+
62
ApplicationManager.getApplication().executeOnPooledThread {
63
val devInProcessor = LanguageProcessor.devin()
64
val compiledInput = runReadAction { devInProcessor?.compile(project, userInput) } ?: userInput
0 commit comments