-
Notifications
You must be signed in to change notification settings - Fork 1.1k
refactor: remove deprecated AITaskPromptParameterName constant #21023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,8 @@ Prior to Coder version 2.28.0, the definition of a Coder task was different to t | |
|
|
||
| Note that 2 and 3 were generally handled by the `coder/agentapi` Terraform module. | ||
|
|
||
| The pre-2.28.0 definition will be supported until the release of 2.29.0. You will need to update your Tasks-enabled templates to continue using Tasks after this release. | ||
| > [!IMPORTANT] | ||
| > The pre-2.28.0 definition is no longer supported as of Coder 2.30.0. You must update your Tasks-enabled templates to use the new format described below. | ||
|
|
||
| You can view an [example migration here](https://github.com/coder/coder/pull/20420). Alternatively, follow the steps below: | ||
|
|
||
|
|
@@ -114,7 +115,7 @@ resource "coder_ai_task" "task" { | |
|
|
||
| In v2.28 and above, the following changes were made: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to modify/bump the version number specified here?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this statement is still true. 🤔 It's more that in 2.29 we still allowed the syntax and had back-combat, but in 2.30 we're removing the back-compat too. But please correct me if I'm overlooking something.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was a non-blocking suggestion so I'm happy to merge as-is |
||
|
|
||
| - The explicitly named "AI Prompt" parameter is deprecated. The task prompt is now available in the `coder_ai_task` resource (provider version 2.12 and above) and `coder_task` data source (provider version 2.13 and above). | ||
| - The explicitly named "AI Prompt" parameter is no longer supported. The task prompt is now available in the `coder_ai_task` resource (provider version 2.12 and above) and `coder_task` data source (provider version 2.13 and above). | ||
| - Modules no longer define the `coder_ai_task` resource. These must be defined explicitly in the template. | ||
| - The `sidebar_app` field of the `coder_ai_task` resource is now deprecated. In its place, use `app_id`. | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.