Skip to content

Commit 9406c9f

Browse files
committed
chore: address comments
1 parent 4a34f8d commit 9406c9f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

registry/coder/modules/claude-code/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module "claude-code" {
3535

3636
### Usage with Tasks and Advanced Configuration
3737

38-
This example shows how to configure the Claude Code module with a task prompt, API key, and other custom settings.
38+
This example shows how to configure the Claude Code module with an ai prompt, API key, and other custom settings.
3939

4040
```tf
4141
data "coder_parameter" "ai_prompt" {
@@ -59,9 +59,9 @@ module "claude-code" {
5959
claude_code_version = "1.0.82" # Pin to a specific version
6060
agentapi_version = "v0.6.1"
6161
62-
task_prompt = data.coder_parameter.ai_prompt.value
63-
continue = true # will fail in a new workspace with no conversation/session to continue
64-
model = "sonnet"
62+
ai_prompt = data.coder_parameter.ai_prompt.value
63+
continue = true # will fail in a new workspace with no conversation/session to continue
64+
model = "sonnet"
6565
6666
permission_mode = "plan"
6767
@@ -112,7 +112,8 @@ cat ~/.claude-module/post_install.log
112112
```
113113

114114
> [!NOTE]
115-
> To use tasks with Claude Code, you must provide an `anthropic_api_key` or `claude_code_oauth_token`. It's recommended to use a `coder_parameter` for the `task_prompt` to allow users to input tasks from the Coder UI. The `workdir` variable is required and specifies the directory where Claude Code will run.
115+
> To use tasks with Claude Code, you must provide an `anthropic_api_key` or `claude_code_oauth_token`.
116+
> The `workdir` variable is required and specifies the directory where Claude Code will run.
116117
117118
## References
118119

0 commit comments

Comments
 (0)