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 53dca04 commit 32f756cCopy full SHA for 32f756c
core/src/main/kotlin/cc/unitmesh/devti/mcp/host/AutoDevMcpTools.kt
@@ -2,6 +2,7 @@ package cc.unitmesh.devti.mcp.host
2
3
import cc.unitmesh.devti.gui.AutoDevToolWindowFactory
4
import cc.unitmesh.devti.gui.chat.message.ChatActionType
5
+import cc.unitmesh.devti.sketch.AutoSketchMode
6
import com.intellij.openapi.project.Project
7
import kotlinx.serialization.Serializable
8
import com.intellij.openapi.application.runInEdt
@@ -24,6 +25,7 @@ class IssueEvaluateTool : AbstractMcpTool<IssueArgs>() {
24
25
val issue = args.issue
26
27
runInEdt {
28
+ AutoSketchMode.getInstance(project).isEnable = true
29
AutoDevToolWindowFactory.Companion.sendToSketchToolWindow(project, ChatActionType.SKETCH) { ui, _ ->
30
ui.sendInput(issue)
31
}
0 commit comments