Skip to content

Commit eb5a89d

Browse files
committed
fix(AutoDevInput): correct placeholder logic for agent display
1 parent cf0b5f7 commit eb5a89d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/kotlin/cc/unitmesh/devti/gui/chat/ui/AutoDevInput.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ class AutoDevInput(
8787
AutoInputService.getInstance(project).registerAutoDevInput(this)
8888
isOneLineMode = false
8989
if (showAgent) {
90-
placeholder("chat.panel.initial.text.noAgent", this)
91-
} else {
9290
placeholder("chat.panel.initial.text", this)
91+
} else {
92+
placeholder("chat.panel.initial.text.noAgent", this)
9393
}
9494
setFontInheritedFromLAF(true)
9595
addSettingsProvider {

0 commit comments

Comments
 (0)