diff options
Diffstat (limited to 'pkg/aflow/flow/patching/patching.go')
| -rw-r--r-- | pkg/aflow/flow/patching/patching.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/aflow/flow/patching/patching.go b/pkg/aflow/flow/patching/patching.go index 1906204ec..f8ee75a31 100644 --- a/pkg/aflow/flow/patching/patching.go +++ b/pkg/aflow/flow/patching/patching.go @@ -75,6 +75,7 @@ func createPatchingFlow(name string, summaryWindow int) *aflow.Flow { MaxIterations: 10, }, getMaintainers, + getRecentCommits, &aflow.LLMAgent{ Name: "description-generator", Model: aflow.BestExpensiveModel, @@ -222,6 +223,12 @@ Additional description of the patch: {{.PatchExplanation}} +Here are summaries of recent commits that touched the same files. +Format the summary line consistently with these, look how prefixes +are specified, letter capitalization, style, etc. + +{{.RecentCommits}} + {{if titleIsWarning .BugTitle}} If the patch removes the WARN_ON macro, refer to the fact that WARN_ON must not be used for conditions that can legitimately happen, and that pr_err |
