Skip to content

Commit 3682cc1

Browse files
committed
docs
1 parent 422b8cb commit 3682cc1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/models.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Models capabilities and configurations are retrieved from [models.dev](https://m
1414
| Ollama local models ||| X | X |
1515

1616

17-
### Built-in providers config
17+
### Config
1818

1919
Built-in providers have already base initial `providers` configs, so you can change to add models or set its key/url.
2020

@@ -61,13 +61,15 @@ Schema:
6161
| Option | Type | Description | Required |
6262
|-------------------------------|--------|---------------------------------------------------------------------------------|----------|
6363
| `api` | string | The API schema to use (`"openai-responses"`, `"openai-chat"`, or `"anthropic"`) | Yes |
64-
| `urlEnv` | string | Environment variable name containing the API URL | Yes* |
65-
| `url` | string | Direct API URL (use instead of `urlEnv`) | Yes* |
66-
| `keyEnv` | string | Environment variable name containing the API key | Yes* |
67-
| `key` | string | Direct API key (use instead of `keyEnv`) | Yes* |
64+
| `urlEnv` | string | Environment variable name containing the API URL | No* |
65+
| `url` | string | Direct API URL (use instead of `urlEnv`) | No* |
66+
| `keyEnv` | string | Environment variable name containing the API key | No* |
67+
| `key` | string | Direct API key (use instead of `keyEnv`) | No* |
6868
| `models` | map | Key: model name, value: its config | Yes |
6969
| `models <model> extraPayload` | map | Extra payload sent in body to LLM | No |
7070

71+
_* url and key will be search as env `<provider>_API_URL` / `<provider>_API_KEY`, but require config or to be found to work._
72+
7173
Example:
7274

7375
`~/.config/eca/config.json`

0 commit comments

Comments
 (0)