mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-19 07:54:46 +00:00
feat: prefill additional commit message input
This commit is contained in:
parent
bf1c428f7d
commit
8f016b73ff
1 changed files with 2 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ class GenerateCommitMessageWithAdditionalInputAction : BaseCommitWorkflowAction(
|
|||
project,
|
||||
"Enter additional input for the commit message:",
|
||||
"Additional Input",
|
||||
"",
|
||||
commitWorkflowUi.commitMessageUi.text,
|
||||
Messages.getQuestionIcon(),
|
||||
null
|
||||
)
|
||||
|
|
@ -32,11 +32,7 @@ class GenerateCommitMessageWithAdditionalInputAction : BaseCommitWorkflowAction(
|
|||
CompletionRequestService.getInstance().getCommitMessageAsync(
|
||||
CommitMessageCompletionParameters(
|
||||
gitDiff,
|
||||
"""
|
||||
$systemPrompt
|
||||
|
||||
User input: $userInput
|
||||
""".trimIndent()
|
||||
"$systemPrompt\n\nUser input: $userInput"
|
||||
),
|
||||
CommitMessageEventListener(project, commitWorkflowUi)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue