File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
core/src/main/kotlin/cc/unitmesh/devti Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import cc.unitmesh.devti.agent.tool.AgentTool
4
4
import cc.unitmesh.devti.devin.dataprovider.BuiltinCommand
5
5
import cc.unitmesh.devti.llms.custom.Message
6
6
import com.intellij.openapi.components.Service
7
+ import com.intellij.openapi.diagnostic.logger
7
8
import com.intellij.util.diff.Diff.Change
8
9
import java.util.UUID
9
10
@@ -26,6 +27,8 @@ class AgentStateService {
26
27
state.usedTools = tools.map {
27
28
AgentTool (it.commandName, it.description, " " )
28
29
}
30
+
31
+ logger<AgentStateService >().info(" Called agent tools:\n ${state.usedTools.joinToString(" \n " )} " )
29
32
}
30
33
31
34
fun addChanges (fileName : String ) {
Original file line number Diff line number Diff line change @@ -312,8 +312,6 @@ open class CodeHighlightSketch(
312
312
editorFragment?.editor?.let {
313
313
EditorFactory .getInstance().releaseEditor(it)
314
314
}
315
-
316
- editorFragment = null
317
315
}
318
316
}
319
317
You can’t perform that action at this time.
0 commit comments