File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/main/kotlin/cc/unitmesh/devti/actions/vcs Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,17 @@ package cc.unitmesh.devti.actions.vcs
2
2
3
3
import cc.unitmesh.devti.actions.chat.base.ChatBaseAction
4
4
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
9
5
import cc.unitmesh.devti.llms.LlmFactory
10
6
import cc.unitmesh.devti.prompting.VcsPrompting
11
- import cc.unitmesh.devti.provider.ContextPrompter
12
7
import com.intellij.openapi.actionSystem.AnActionEvent
13
8
import com.intellij.openapi.components.service
14
9
import com.intellij.openapi.project.ProjectManager
15
- import com.intellij.openapi.vcs.VcsConfiguration
16
10
import com.intellij.openapi.vcs.VcsDataKeys
17
11
import com.intellij.openapi.vcs.changes.Change
18
12
import com.intellij.openapi.vcs.ui.CommitMessage
19
13
import kotlinx.coroutines.flow.cancellable
20
14
import kotlinx.coroutines.runBlocking
15
+ import kotlinx.coroutines.flow.collect
21
16
22
17
class CommitMessageSuggestionAction : ChatBaseAction () {
23
18
override fun getActionType (): ChatActionType = ChatActionType .GEN_COMMIT_MESSAGE
You can’t perform that action at this time.
0 commit comments