Skip to content

Commit 0e6ecb1

Browse files
committed
docs
1 parent 07b6e90 commit 0e6ecb1

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

docs/configuration.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,21 @@ Examples:
389389
}
390390
}
391391
```
392+
393+
## Completion
394+
395+
You can configure which model and system prompt ECA will use during its inline completion:
396+
397+
=== "Example"
398+
399+
```javascript title="~/.config/eca/config.json"
400+
{
401+
"completion": {
402+
"model": "github-copilot/gpt-4o",
403+
"systemPromptFile": "/path/to/my-prompt.md"
404+
}
405+
}
406+
```
392407

393408
## Opentelemetry integration
394409

docs/features.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,17 +135,20 @@ Hooks are actions that can run before or after an specific event, useful to noti
135135

136136
For more details, check [hooks configuration](./configuration.md#hooks).
137137

138+
## Completion (alpha)
139+
140+
Inline code completion
141+
142+
![](./images/features/inline_completion.png)
143+
144+
For mode details check [configuration](./configuration.md#completion).
145+
138146
## OpenTelemetry integration
139147

140148
ECA has support for [OpenTelemetry](https://opentelemetry.io/)(otlp), if configured, server tasks, tool calls, and more will be metrified via otlp API.
141149

142150
For more details check [its configuration](./configuration.md#opentelemetry-integration).
143151

144-
## Completion (alpha)
145-
146-
Inline code completion
147-
148-
![](./images/features/inline_completion.png)
149152

150153
## Edit
151154

0 commit comments

Comments
 (0)