Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs(coder_ai_task): add min coder version forprompt andenabled#459

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 2 commits intomainfromdanielle/docs/ai-task
Nov 4, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletiondocs/resources/ai_task.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,10 +22,14 @@ Use this resource to define Coder tasks.

### Read-Only

- `enabled` (Boolean) True when executing in a Coder Task context, false when in a Coder Workspace context
- `enabled` (Boolean) True when executing in a Coder Task context, false when in a Coder Workspace context.

-> The `enabled` field is only populated in Coder v2.28 and later.
- `id` (String) A unique identifier for this resource.
- `prompt` (String) The prompt text provided to the task by Coder.

-> The `prompt` field is only populated in Coder v2.28 and later.

<a id="nestedblock--sidebar_app"></a>
### Nested Schema for `sidebar_app`

Expand Down
4 changes: 2 additions & 2 deletionsprovider/ai_task.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,7 +95,7 @@ func aiTaskResource() *schema.Resource {
},
"prompt": {
Type: schema.TypeString,
Description: "The prompt text provided to the task by Coder.",
Description: "The prompt text provided to the task by Coder.\n\n -> The `prompt` field is only populated in Coder v2.28 and later.",
Computed: true,
},
"app_id": {
Expand All@@ -109,7 +109,7 @@ func aiTaskResource() *schema.Resource {
},
"enabled": {
Type: schema.TypeBool,
Description: "True when executing in a Coder Task context, false when in a Coder Workspace context",
Description: "True when executing in a Coder Task context, false when in a Coder Workspace context.\n\n -> The `enabled` field is only populated in Coder v2.28 and later.",
Computed: true,
},
},
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp