You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -405,6 +405,21 @@ You can configure which model and system prompt ECA will use during its inline c
405
405
}
406
406
```
407
407
408
+
## Rewrite
409
+
410
+
You can configure which model and system prompt ECA will use during its rewrite feature:
411
+
412
+
=== "Example"
413
+
414
+
```javascript title="~/.config/eca/config.json"
415
+
{
416
+
"rewrite": {
417
+
"model": "github-copilot/gpt-4.1",
418
+
"systemPromptFile": "/path/to/my-prompt.md"
419
+
}
420
+
}
421
+
```
422
+
408
423
## Opentelemetry integration
409
424
410
425
To configure, add your OTLP collector config via `:otlp` map following [otlp auto-configure settings](https://opentelemetry.io/docs/languages/java/configuration/#properties-general). Example:
@@ -516,6 +531,10 @@ To configure, add your OTLP collector config via `:otlp` map following [otlp aut
516
531
model?: string;
517
532
systemPromptFile?: string;
518
533
};
534
+
rewrite?: {
535
+
model?: string;
536
+
systemPromptFile?: string;
537
+
};
519
538
otlp?: {[key: string]: string};
520
539
netrcFile?: string;
521
540
}
@@ -589,6 +608,9 @@ To configure, add your OTLP collector config via `:otlp` map following [otlp aut
Copy file name to clipboardExpand all lines: docs/features.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,6 +135,12 @@ Hooks are actions that can run before or after an specific event, useful to noti
135
135
136
136
For more details, check [hooks configuration](./configuration.md#hooks).
137
137
138
+
## Rewrite
139
+
140
+
Rewrite allow user to select part of the text and ask ECA to rewrite it using a configured model.
141
+
142
+

143
+
138
144
## Completion (alpha)
139
145
140
146
Inline code completion
@@ -148,9 +154,3 @@ For mode details check [configuration](./configuration.md#completion).
148
154
ECA has support for [OpenTelemetry](https://opentelemetry.io/)(otlp), if configured, server tasks, tool calls, and more will be metrified via otlp API.
149
155
150
156
For more details check [its configuration](./configuration.md#opentelemetry-integration).
0 commit comments