@@ -803,7 +803,7 @@ func TestTasksCreate(t *testing.T) {
803803ProvisionApply :echo .ApplyComplete ,
804804ProvisionPlan : []* proto.Response {
805805{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
806- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
806+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
807807HasAiTasks :true ,
808808}}},
809809},
@@ -876,7 +876,7 @@ func TestTasksCreate(t *testing.T) {
876876ProvisionApply :echo .ApplyComplete ,
877877ProvisionPlan : []* proto.Response {
878878{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
879- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
879+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
880880HasAiTasks :true ,
881881}}},
882882},
@@ -992,7 +992,7 @@ func TestTasksCreate(t *testing.T) {
992992ProvisionApply :echo .ApplyComplete ,
993993ProvisionPlan : []* proto.Response {
994994{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
995- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
995+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
996996HasAiTasks :true ,
997997}}},
998998},
@@ -1052,7 +1052,7 @@ func TestTasksCreate(t *testing.T) {
10521052ProvisionApply :echo .ApplyComplete ,
10531053ProvisionPlan : []* proto.Response {
10541054{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1055- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1055+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
10561056HasAiTasks :true ,
10571057}}},
10581058},
@@ -1089,7 +1089,7 @@ func TestTasksCreate(t *testing.T) {
10891089ProvisionApply :echo .ApplyComplete ,
10901090ProvisionPlan : []* proto.Response {
10911091{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1092- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1092+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
10931093HasAiTasks :true ,
10941094}}},
10951095},
@@ -1142,7 +1142,7 @@ func TestTasksCreate(t *testing.T) {
11421142ProvisionApply :echo .ApplyComplete ,
11431143ProvisionPlan : []* proto.Response {
11441144{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1145- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1145+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
11461146HasAiTasks :true ,
11471147}}},
11481148},
@@ -1155,7 +1155,7 @@ func TestTasksCreate(t *testing.T) {
11551155ProvisionApply :echo .ApplyComplete ,
11561156ProvisionPlan : []* proto.Response {
11571157{Type :& proto.Response_Plan {Plan :& proto.PlanComplete {
1158- Parameters : []* proto.RichParameter {{Name :"AI Prompt" ,Type :"string" }},
1158+ Parameters : []* proto.RichParameter {{Name :codersdk . AITaskPromptParameterName ,Type :"string" }},
11591159HasAiTasks :true ,
11601160}}},
11611161},