Skip to content

Commit

Permalink
feat(vcs): generate commit message with prompt
Browse files Browse the repository at this point in the history
This commit adds functionality to generate a commit message with a prompt. It logs the start of the commit message generation and the generated prompt.
  • Loading branch information
phodal committed Jan 9, 2024
1 parent 16ab325 commit 8d6932e
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -43,6 +43,9 @@ class CommitMessageSuggestionAction : ChatBaseAction() {
// empty commit message before generating
(commitMessageUi as CommitMessage).editorField.text = ""

logger.info("Start generating commit message.")
logger.info(prompt)

val stream = LlmFactory().create(project).stream(prompt, "", false)

runBlocking {
Expand Down

0 comments on commit 8d6932e

Please sign in to comment.