@@ -808,7 +808,7 @@ func TestTasksCreate(t *testing.T) {
808808ProvisionApply :echo .ApplyComplete ,
809809ProvisionPlan : []* proto.Response {
810810{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
811- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
811+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
812812HasAiTasks :true ,
813813}}},
814814},
@@ -881,7 +881,7 @@ func TestTasksCreate(t *testing.T) {
881881ProvisionApply :echo .ApplyComplete ,
882882ProvisionPlan : []* proto.Response {
883883{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
884- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
884+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
885885HasAiTasks :true ,
886886}}},
887887},
@@ -997,7 +997,7 @@ func TestTasksCreate(t *testing.T) {
997997ProvisionApply :echo .ApplyComplete ,
998998ProvisionPlan : []* proto.Response {
999999{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1000- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1000+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
10011001HasAiTasks :true ,
10021002}}},
10031003},
@@ -1057,7 +1057,7 @@ func TestTasksCreate(t *testing.T) {
10571057ProvisionApply :echo .ApplyComplete ,
10581058ProvisionPlan : []* proto.Response {
10591059{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1060- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1060+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
10611061HasAiTasks :true ,
10621062}}},
10631063},
@@ -1094,7 +1094,7 @@ func TestTasksCreate(t *testing.T) {
10941094ProvisionApply :echo .ApplyComplete ,
10951095ProvisionPlan : []* proto.Response {
10961096{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1097- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1097+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
10981098HasAiTasks :true ,
10991099}}},
11001100},
@@ -1147,7 +1147,7 @@ func TestTasksCreate(t *testing.T) {
11471147ProvisionApply :echo .ApplyComplete ,
11481148ProvisionPlan : []* proto.Response {
11491149{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1150- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1150+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
11511151HasAiTasks :true ,
11521152}}},
11531153},
@@ -1160,7 +1160,7 @@ func TestTasksCreate(t *testing.T) {
11601160ProvisionApply :echo .ApplyComplete ,
11611161ProvisionPlan : []* proto.Response {
11621162{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1163- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1163+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
11641164HasAiTasks :true ,
11651165}}},
11661166},