Skip to content

Commit 6299fb8

Browse files
committed
docs
1 parent 6e8242e commit 6299fb8

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

docs/configuration.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ The `customTools` value is an object where each key is the name of your tool. Ea
174174

175175
Placeholders in the format `{{argument_name}}` within the `command` string will be replaced by the values provided by the LLM.
176176

177-
=== "Example config.json"
177+
=== "Example 1"
178178

179+
`~/.config/eca/config.json`
179180
```javascript
180181
{
181182
"customTools": {
@@ -191,7 +192,17 @@ Placeholders in the format `{{argument_name}}` within the `command` string will
191192
},
192193
"required": ["url"]
193194
}
194-
},
195+
}
196+
}
197+
}
198+
```
199+
200+
=== "Example 2"
201+
202+
`~/.config/eca/config.json`
203+
```javascript
204+
{
205+
"customTools": {
195206
"file-search": {
196207
"description": "Finds files within a directory that match a specific name pattern.",
197208
"command": "find {{directory}} -name {{pattern}}",
@@ -213,7 +224,6 @@ Placeholders in the format `{{argument_name}}` within the `command` string will
213224
}
214225
```
215226

216-
217227
## Custom command prompts
218228

219229
You can configure custom command prompts for project, global or via `commands` config pointing to the path of the commands.

0 commit comments

Comments
 (0)