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
__`argsMatchers`__ is a map of argument name by list of [java regex](https://www.regexplanet.com/advanced/java/index.html).
@@ -156,7 +156,7 @@ Check some examples:
156
156
}
157
157
}
158
158
```
159
-
159
+
160
160
=== "Denying a tool"
161
161
162
162
```javascript
@@ -336,7 +336,7 @@ There are 3 possible ways to configure rules following this order of priority:
336
336
"rules": [{"path": "my-rule.md"}]
337
337
}
338
338
```
339
-
339
+
340
340
## Behaviors / prompts
341
341
342
342
ECA allows to totally customize the prompt sent to LLM via the `behavior` config, allowing to have multiple behaviors for different tasks or workflows.
@@ -379,6 +379,7 @@ To configure, add your OTLP collector config via `:otlp` map following [otlp aut
379
379
urlEnv?: string;
380
380
key?: string; // when provider supports api key.
381
381
keyEnv?: string;
382
+
keyRc?: string; // credential file lookup in format [login@]machine[:port]
Copy file name to clipboardExpand all lines: docs/models.md
+44-16Lines changed: 44 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,15 +32,15 @@ Example:
32
32
"providers": {
33
33
"openai": {
34
34
"key":"your-openai-key-here", // configuring a key
35
-
"models": {
35
+
"models": {
36
36
"o1": {} // adding models to a built-in provider
37
37
"o3": {
38
38
"extraPayload": { // adding to the payload sent to LLM
39
39
"temperature":0.5
40
40
}
41
41
}
42
42
}
43
-
}
43
+
}
44
44
}
45
45
}
46
46
```
@@ -68,6 +68,7 @@ Schema:
68
68
|`urlEnv`| string | Environment variable name containing the API URL | No*|
69
69
|`url`| string | Direct API URL (use instead of `urlEnv`) | No*|
70
70
|`keyEnv`| string | Environment variable name containing the API key | No*|
71
+
|`keyRc`| string | Lookup specification to read the API key from Unix RC [credential files](#credential-file-authentication)| No*|
71
72
|`key`| string | Direct API key (use instead of `keyEnv`) | No*|
72
73
|`completionUrlRelativePath`| string | Optional override for the completion endpoint path (see defaults below and examples like Azure) | No |
73
74
|`models`| map | Key: model name, value: its config | Yes |
@@ -121,27 +122,54 @@ Defaults by API type:
121
122
122
123
Only set this when your provider uses a different path or expects query parameters at the endpoint (e.g., Azure API versioning).
123
124
125
+
### Credential File Authentication
126
+
127
+
Use `keyRc` in your provider config to read credentials from `~/.authinfo(.gpg)` or `~/.netrc(.gpg)` without storing keys directly in config or env vars.
0 commit comments