Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f935d8b

Browse files
committed
Fix and align indentation in documentation examples
1 parent 4d5211e commit f935d8b

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/ai-coder/tasks.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,17 @@ Some users may wish to or are requiredto run agents with their own identity and
9292

9393
### Git Identity
9494

95-
You can make use of `.gitconfig` to configure the identity of the agent. For example, you can configure the author and committer identities separately.
95+
You can make use of `.gitconfig` to configure the identity of the agent. For example, you can configure the author and committer identities separately.
9696

9797
```tf
9898
resource "coder_agent" "main" {
99-
...
100-
env = {
101-
GIT_AUTHOR_NAME = "AI Bot"
102-
GIT_AUTHOR_EMAIL = "[email protected]"
103-
GIT_COMMITTER_NAME = "Jane Doe"
104-
GIT_COMMITTER_EMAIL = "[email protected]"
105-
}
99+
...
100+
env = {
101+
GIT_AUTHOR_NAME = "AI Bot"
102+
GIT_AUTHOR_EMAIL = "[email protected]"
103+
GIT_COMMITTER_NAME = "Jane Doe"
104+
GIT_COMMITTER_EMAIL = "[email protected]"
105+
}
106106
}
107107
```
108108

@@ -113,15 +113,15 @@ You have two options here to either choose the developer orchestrating the agent
113113
```tf
114114
# Define a template variable to store the token.
115115
variable "github_pat" {
116-
type = string
117-
sensitive = true
116+
type = string
117+
sensitive = true
118118
}
119119
120120
resource "coder_agent" "main" {
121-
...
122-
env = {
123-
GITHUB_TOKEN = var.github_pat # Inject a Bot specific PAT
124-
}
121+
...
122+
env = {
123+
GITHUB_TOKEN = var.github_pat # Inject a Bot specific PAT
124+
}
125125
}
126126
```
127127

0 commit comments

Comments
 (0)