@@ -63,11 +63,10 @@ func TestAIBugWorkflows(t *testing.T) {
6363
6464 _ , err := c .aiClient .AIJobPoll (& dashapi.AIJobPollReq {
6565 CodeRevision : prog .GitRevision ,
66- LLMModel : "smarty" ,
6766 Workflows : []dashapi.AIWorkflow {
68- {Type : "patching" , Name : "patching" },
69- {Type : "patching" , Name : "patching-foo" },
70- {Type : "patching" , Name : "patching-bar" },
67+ {Type : "patching" , Name : "patching" , LLMModel : "smarty" },
68+ {Type : "patching" , Name : "patching-foo" , LLMModel : "smarty" },
69+ {Type : "patching" , Name : "patching-bar" , LLMModel : "smarty" },
7170 },
7271 })
7372 require .NoError (t , err )
@@ -77,25 +76,23 @@ func TestAIBugWorkflows(t *testing.T) {
7776
7877 _ , err = c .aiClient .AIJobPoll (& dashapi.AIJobPollReq {
7978 CodeRevision : prog .GitRevision ,
80- LLMModel : "smarty" ,
8179 Workflows : []dashapi.AIWorkflow {
82- {Type : "patching" , Name : "patching" },
83- {Type : "patching" , Name : "patching-bar" },
84- {Type : "patching" , Name : "patching-baz" },
85- {Type : "assessment-kcsan" , Name : "assessment-kcsan" },
80+ {Type : "patching" , Name : "patching" , LLMModel : "smarty" },
81+ {Type : "patching" , Name : "patching-bar" , LLMModel : "smarty" },
82+ {Type : "patching" , Name : "patching-baz" , LLMModel : "smarty" },
83+ {Type : "assessment-kcsan" , Name : "assessment-kcsan" , LLMModel : "smarty" },
8684 },
8785 })
8886 require .NoError (t , err )
8987
9088 _ , err = c .aiClient .AIJobPoll (& dashapi.AIJobPollReq {
9189 CodeRevision : prog .GitRevision ,
92- LLMModel : "smarty" ,
9390 Workflows : []dashapi.AIWorkflow {
94- {Type : "patching" , Name : "patching" },
95- {Type : "patching" , Name : "patching-bar" },
96- {Type : "patching" , Name : "patching-qux" },
97- {Type : "assessment-kcsan" , Name : "assessment-kcsan" },
98- {Type : "assessment-kcsan" , Name : "assessment-kcsan-foo" },
91+ {Type : "patching" , Name : "patching" , LLMModel : "smarty" },
92+ {Type : "patching" , Name : "patching-bar" , LLMModel : "smarty" },
93+ {Type : "patching" , Name : "patching-qux" , LLMModel : "smarty" },
94+ {Type : "assessment-kcsan" , Name : "assessment-kcsan" , LLMModel : "smarty" },
95+ {Type : "assessment-kcsan" , Name : "assessment-kcsan-foo" , LLMModel : "smarty" },
9996 },
10097 })
10198 require .NoError (t , err )
@@ -117,9 +114,8 @@ func TestAIJob(t *testing.T) {
117114
118115 resp , err := c .aiClient .AIJobPoll (& dashapi.AIJobPollReq {
119116 CodeRevision : prog .GitRevision ,
120- LLMModel : "smarty" ,
121117 Workflows : []dashapi.AIWorkflow {
122- {Type : "assessment-kcsan" , Name : "assessment-kcsan" },
118+ {Type : "assessment-kcsan" , Name : "assessment-kcsan" , LLMModel : "smarty" },
123119 },
124120 })
125121 require .NoError (t , err )
@@ -137,9 +133,8 @@ func TestAIJob(t *testing.T) {
137133
138134 resp2 , err2 := c .aiClient .AIJobPoll (& dashapi.AIJobPollReq {
139135 CodeRevision : prog .GitRevision ,
140- LLMModel : "smarty" ,
141136 Workflows : []dashapi.AIWorkflow {
142- {Type : "assessment-kcsan" , Name : "assessment-kcsan" },
137+ {Type : "assessment-kcsan" , Name : "assessment-kcsan" , LLMModel : "smarty" },
143138 },
144139 })
145140 require .NoError (t , err2 )
@@ -214,9 +209,8 @@ func TestAIAssessmentKCSAN(t *testing.T) {
214209
215210 resp , err := c .aiClient .AIJobPoll (& dashapi.AIJobPollReq {
216211 CodeRevision : prog .GitRevision ,
217- LLMModel : "smarty" ,
218212 Workflows : []dashapi.AIWorkflow {
219- {Type : ai .WorkflowAssessmentKCSAN , Name : string (ai .WorkflowAssessmentKCSAN )},
213+ {Type : ai .WorkflowAssessmentKCSAN , Name : string (ai .WorkflowAssessmentKCSAN ), LLMModel : "smarty" },
220214 },
221215 })
222216 require .NoError (t , err )
0 commit comments