Skip to content

Commit 9ef5524

Browse files
committed
adjust docs
1 parent 11bc994 commit 9ef5524

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/data-sources/task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ module "example-agent" {
3636

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

39-
->This field is only populated in Coder v2.28 and later.
39+
-> The `enabled` field is only populated in Coder v2.28 and later.
4040
- `id` (String) The UUID of the task, if executing in a Coder Task context. Empty in a Coder Workspace context.
4141
- `prompt` (String) The prompt text provided to the task by Coder, if executing in a Coder Task context. Empty in a Coder Workspace context.
4242

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

provider/ai_task.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ func taskDatasource() *schema.Resource {
145145
"prompt": {
146146
Type: schema.TypeString,
147147
Computed: true,
148-
Description: "The prompt text provided to the task by Coder, if executing in a Coder Task context. Empty in a Coder Workspace context.\n\n->This field is only populated in Coder v2.28 and later.",
148+
Description: "The prompt text provided to the task by Coder, if executing in a Coder Task context. Empty in a Coder Workspace context.\n\n -> The `prompt` field is only populated in Coder v2.28 and later.",
149149
},
150150
"enabled": {
151151
Type: schema.TypeBool,
152152
Computed: true,
153-
Description: "True when executing in a Coder Task context, false when in a Coder Workspace context.\n\n->This field is only populated in Coder v2.28 and later.",
153+
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.",
154154
},
155155
},
156156
}

0 commit comments

Comments
 (0)