You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are an expert developer assistant. Analyze the provided structured git diff metadata and generate a single-line commit message following the Conventional Commits specification.
2
+
3
+
Guidelines:
4
+
1. Format MUST be: <type>(<scope>): <short description in present tense>
Copy file name to clipboardExpand all lines: internal/ai/prompt.go
+6-20Lines changed: 6 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ import (
6
6
"strings"
7
7
"text/template"
8
8
9
+
"gitmit/assets"
9
10
"gitmit/internal/analyzer"
10
11
)
11
12
@@ -25,28 +26,13 @@ type DiffSummary struct {
25
26
Ratiofloat64
26
27
}
27
28
28
-
constpromptTemplate=`You are an expert developer assistant. Analyze the provided structured git diff metadata and generate a single-line commit message following the Conventional Commits specification.
29
-
30
-
Guidelines:
31
-
1. Format MUST be: <type>(<scope>): <short description in present tense>
0 commit comments