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
+4-52Lines changed: 4 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,10 @@ Via env var during server process spawn:
41
41
ECA_CONFIG='{"myConfig": "my_value"}' eca server
42
42
```
43
43
44
+
## Models
45
+
46
+
For models configuration check the [dedicated models section](./models.md#adding-and-configuring-models).
47
+
44
48
## Rules
45
49
46
50
Rules are contexts that are passed to the LLM during a prompt and are useful to tune prompts or LLM behavior.
@@ -103,27 +107,6 @@ For MCP servers configuration, use the `mcpServers` config, example:
103
107
}
104
108
```
105
109
106
-
## Custom LLM providers
107
-
108
-
It's possible to configure ECA to be aware of custom LLM providers if they follow a API schema similar to currently supported ones (openai, anthropic), example for a custom hosted litellm server:
109
-
110
-
```javascript
111
-
{
112
-
"customProviders": {
113
-
"my-company": {
114
-
"api":"openai",
115
-
"urlEnv":"MY_COMPANY_API_URL", // or "url": "https://litellm.my-company.com",
116
-
// "completionUrlRelativePath": "/v1/responses", // only if default is not enough,
117
-
"keyEnv":"MY_COMPANY_API_KEY", // or "key": "123",
118
-
"models": ["gpt-5", "deepseek-r1"],
119
-
"defaultModel":"deepseek-r1"
120
-
}
121
-
}
122
-
}
123
-
```
124
-
125
-
With that, ECA will include in the known models something like: `my-company/gpt-4.1`, `my-company/deepseek-r1`.
126
-
127
110
## Custom command prompts
128
111
129
112
You can configure custom command prompts for project, global or via `commands` config pointing to the path of the commands.
@@ -157,37 +140,6 @@ Just add to your config the `commands` pointing to `.md` files that will be sear
157
140
}
158
141
```
159
142
160
-
## Adding models
161
-
162
-
It's possible to add new models just adding `models <yourmodel>`, example:
163
-
164
-
```javascript
165
-
{
166
-
"models": {
167
-
"o1": {}
168
-
}
169
-
}
170
-
```
171
-
172
-
### Overriding model payloads
173
-
174
-
To override the payload sent to LLMs via `models <modelName> extraPayload` config, this way you can configure custom LLM settings like `temperature`, `reasoning_effort`, `verbosity` etc.
175
-
This config will be merged with current default used by ECA.
Copy file name to clipboardExpand all lines: docs/models.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,8 @@ You can customize model parameters like temperature, reasoning effort, etc.:
92
92
}
93
93
```
94
94
95
+
This config will be merged with current default used by ECA.
96
+
95
97
## Custom model providers
96
98
97
99
ECA allows you to configure custom LLM providers that follow API schemas similar to OpenAI or Anthropic. This is useful when you want to use:
@@ -102,15 +104,18 @@ ECA allows you to configure custom LLM providers that follow API schemas similar
102
104
103
105
### Setting up a custom provider
104
106
105
-
Add a `customProviders` section to your `.eca/config.json` file:
107
+
It's possible to configure ECA to be aware of custom LLM providers if they follow a API schema similar to currently supported ones (openai, anthropic), example for a custom hosted litellm server:
0 commit comments