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 0d20d7c commit 130a764Copy full SHA for 130a764
core/src/main/kotlin/cc/unitmesh/devti/gui/chat/ui/AutoDevInputSection.kt
@@ -41,7 +41,11 @@ class AutoDevInputSection(
41
fun renderText(): String {
42
val inputText = inputControlsManager.renderText()
43
val files = fileWorkspaceManager.renderText()
44
- return inputText + "\n" + files
+ return if (files.isNotEmpty()) {
45
+ inputText + "\n" + files
46
+ } else {
47
+ inputText
48
+ }
49
}
50
51
fun clearText() {
0 commit comments