@@ -45,42 +45,40 @@ func init() {
4545 ai .WorkflowPatching ,
4646 "generate a kernel patch fixing a provided bug reproducer" ,
4747 & aflow.Flow {
48- Root : & aflow.Pipeline {
49- Actions : []aflow.Action {
50- baseCommitPicker ,
51- kernel .Checkout ,
52- kernel .Build ,
53- // Ensure we can reproduce the crash (and the build boots).
54- crash .Reproduce ,
55- codesearcher .PrepareIndex ,
56- & aflow.LLMAgent {
57- Name : "debugger" ,
58- Model : aflow .BestExpensiveModel ,
59- Reply : "BugExplanation" ,
60- Temperature : 1 ,
61- Instruction : debuggingInstruction ,
62- Prompt : debuggingPrompt ,
63- Tools : tools ,
64- },
65- & aflow.LLMAgent {
66- Name : "diff-generator" ,
67- Model : aflow .BestExpensiveModel ,
68- Reply : "PatchDiff" ,
69- Temperature : 1 ,
70- Instruction : diffInstruction ,
71- Prompt : diffPrompt ,
72- Tools : tools ,
73- },
74- & aflow.LLMAgent {
75- Name : "description-generator" ,
76- Model : aflow .BestExpensiveModel ,
77- Reply : "PatchDescription" ,
78- Temperature : 1 ,
79- Instruction : descriptionInstruction ,
80- Prompt : descriptionPrompt ,
81- },
48+ Root : aflow .Pipeline (
49+ baseCommitPicker ,
50+ kernel .Checkout ,
51+ kernel .Build ,
52+ // Ensure we can reproduce the crash (and the build boots).
53+ crash .Reproduce ,
54+ codesearcher .PrepareIndex ,
55+ & aflow.LLMAgent {
56+ Name : "debugger" ,
57+ Model : aflow .BestExpensiveModel ,
58+ Reply : "BugExplanation" ,
59+ Temperature : 1 ,
60+ Instruction : debuggingInstruction ,
61+ Prompt : debuggingPrompt ,
62+ Tools : tools ,
8263 },
83- },
64+ & aflow.LLMAgent {
65+ Name : "diff-generator" ,
66+ Model : aflow .BestExpensiveModel ,
67+ Reply : "PatchDiff" ,
68+ Temperature : 1 ,
69+ Instruction : diffInstruction ,
70+ Prompt : diffPrompt ,
71+ Tools : tools ,
72+ },
73+ & aflow.LLMAgent {
74+ Name : "description-generator" ,
75+ Model : aflow .BestExpensiveModel ,
76+ Reply : "PatchDescription" ,
77+ Temperature : 1 ,
78+ Instruction : descriptionInstruction ,
79+ Prompt : descriptionPrompt ,
80+ },
81+ ),
8482 },
8583 )
8684}
0 commit comments