Skip to content

Commit 463dc13

Browse files
committed
fix: fix imports
1 parent 4a5c8f6 commit 463dc13

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main/kotlin/cc/unitmesh/devti/actions/vcs/CommitMessageSuggestionAction.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,17 @@ package cc.unitmesh.devti.actions.vcs
22

33
import cc.unitmesh.devti.actions.chat.base.ChatBaseAction
44
import cc.unitmesh.devti.gui.chat.ChatActionType
5-
import cc.unitmesh.devti.gui.chat.ChatCodingService
6-
import cc.unitmesh.devti.gui.chat.ChatContext
7-
import cc.unitmesh.devti.gui.sendToChatPanel
8-
import cc.unitmesh.devti.gui.sendToChatWindow
95
import cc.unitmesh.devti.llms.LlmFactory
106
import cc.unitmesh.devti.prompting.VcsPrompting
11-
import cc.unitmesh.devti.provider.ContextPrompter
127
import com.intellij.openapi.actionSystem.AnActionEvent
138
import com.intellij.openapi.components.service
149
import com.intellij.openapi.project.ProjectManager
15-
import com.intellij.openapi.vcs.VcsConfiguration
1610
import com.intellij.openapi.vcs.VcsDataKeys
1711
import com.intellij.openapi.vcs.changes.Change
1812
import com.intellij.openapi.vcs.ui.CommitMessage
1913
import kotlinx.coroutines.flow.cancellable
2014
import kotlinx.coroutines.runBlocking
15+
import kotlinx.coroutines.flow.collect
2116

2217
class CommitMessageSuggestionAction : ChatBaseAction() {
2318
override fun getActionType(): ChatActionType = ChatActionType.GEN_COMMIT_MESSAGE

0 commit comments

Comments
 (0)