Skip to content

Commit f22ae68

Browse files
committed
docs
1 parent 9cda60d commit f22ae68

File tree

1 file changed

+91
-72
lines changed

1 file changed

+91
-72
lines changed

docs/models.md

Lines changed: 91 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,33 @@ Notes:
226226
3. Type the chosen method
227227
4. Authenticate in your browser, copy the code.
228228
5. Paste and send the code and done!
229+
230+
=== "Azure OpenAI"
231+
232+
1. Login via the chat command `/login`.
233+
2. Type 'azure' and send it.
234+
3. Specify your API key.
235+
4. Specify your API url with your resource, ex: 'https://your-resource-name.openai.azure.com'.
236+
5. Inform at least a model, ex: `gpt-5`
237+
6. Done, it should be saved to your global config.
238+
239+
or manually via config:
240+
241+
```javascript title="~/.config/eca/config.json"
242+
{
243+
"providers": {
244+
"azure": {
245+
"api": "openai-responses",
246+
"url": "https://your-resource-name.openai.azure.com",
247+
"key": "your-api-key",
248+
"completionUrlRelativePath": "/openai/responses?api-version=2025-04-01-preview",
249+
"models": {
250+
"gpt-5": {}
251+
}
252+
}
253+
}
254+
}
255+
```
229256

230257
=== "Codex / Openai"
231258

@@ -234,6 +261,35 @@ Notes:
234261
3. Type the chosen method
235262
4. Authenticate in your browser, copy the code.
236263
5. Paste and send the code and done!
264+
265+
=== "DeepSeek"
266+
267+
[DeepSeek](https://deepseek.com) offers powerful reasoning and coding models:
268+
269+
1. Login via the chat command `/login`.
270+
2. Type 'deepseek' and send it.
271+
3. Specify your Deepseek API key.
272+
4. Inform at least a model, ex: `deepseek-chat`
273+
5. Done, it should be saved to your global config.
274+
275+
or manually via config:
276+
277+
```javascript title="~/.config/eca/config.json"
278+
{
279+
"providers": {
280+
"deepseek": {
281+
"api": "openai-chat",
282+
"url": "https://api.deepseek.com",
283+
"key": "your-api-key",
284+
"models": {
285+
"deepseek-chat": {},
286+
"deepseek-coder": {},
287+
"deepseek-reasoner": {}
288+
}
289+
}
290+
}
291+
}
292+
```
237293

238294
=== "Github Copilot"
239295

@@ -267,86 +323,71 @@ Notes:
267323
}
268324
}
269325
```
326+
327+
=== "LM Studio"
270328

271-
=== "OpenRouter"
272-
273-
[OpenRouter](https://openrouter.ai) provides access to many models through a unified API:
274-
275-
1. Login via the chat command `/login`.
276-
2. Type 'openrouter' and send it.
277-
3. Specify your Openrouter API key.
278-
4. Inform at least a model, ex: `openai/gpt-5`
279-
5. Done, it should be saved to your global config.
280-
281-
or manually via config:
329+
This config works with LM studio:
282330

283331
```javascript title="~/.config/eca/config.json"
284332
{
285333
"providers": {
286-
"openrouter": {
287-
"api": "openai-chat",
288-
"url": "https://openrouter.ai/api/v1",
289-
"key": "your-api-key",
290-
"models": {
291-
"anthropic/claude-3.5-sonnet": {},
292-
"openai/gpt-4-turbo": {},
293-
"meta-llama/llama-3.1-405b": {}
294-
}
334+
"lmstudio": {
335+
"api": "openai-chat",
336+
"url": "http://localhost:1234",
337+
"completionUrlRelativePath": "/v1/chat/completions",
338+
"httpClient": {
339+
"version": "http-1.1"
340+
},
341+
"models": {
342+
"your-model": {}
343+
}
295344
}
296345
}
297346
}
298347
```
299-
300-
=== "DeepSeek"
301-
302-
[DeepSeek](https://deepseek.com) offers powerful reasoning and coding models:
303-
304-
1. Login via the chat command `/login`.
305-
2. Type 'deepseek' and send it.
306-
3. Specify your Deepseek API key.
307-
4. Inform at least a model, ex: `deepseek-chat`
308-
5. Done, it should be saved to your global config.
309-
310-
or manually via config:
348+
349+
=== "Moonshot"
311350

312351
```javascript title="~/.config/eca/config.json"
313352
{
314353
"providers": {
315-
"deepseek": {
316-
"api": "openai-chat",
317-
"url": "https://api.deepseek.com",
354+
"moonshot": {
355+
"api": "anthropic",
356+
"url": "https://api.kimi.com/coding",
318357
"key": "your-api-key",
319358
"models": {
320-
"deepseek-chat": {},
321-
"deepseek-coder": {},
322-
"deepseek-reasoner": {}
323-
}
359+
"kimi-k2.5": {},
360+
"kimi-k2-thinking": {},
361+
"kimi-for-coding": {}
362+
}
324363
}
325364
}
326365
}
327366
```
328367

329-
=== "Azure OpenAI"
368+
=== "OpenRouter"
369+
370+
[OpenRouter](https://openrouter.ai) provides access to many models through a unified API:
330371

331372
1. Login via the chat command `/login`.
332-
2. Type 'azure' and send it.
333-
3. Specify your API key.
334-
4. Specify your API url with your resource, ex: 'https://your-resource-name.openai.azure.com'.
335-
5. Inform at least a model, ex: `gpt-5`
336-
6. Done, it should be saved to your global config.
373+
2. Type 'openrouter' and send it.
374+
3. Specify your Openrouter API key.
375+
4. Inform at least a model, ex: `openai/gpt-5`
376+
5. Done, it should be saved to your global config.
337377

338378
or manually via config:
339379

340380
```javascript title="~/.config/eca/config.json"
341381
{
342382
"providers": {
343-
"azure": {
344-
"api": "openai-responses",
345-
"url": "https://your-resource-name.openai.azure.com",
383+
"openrouter": {
384+
"api": "openai-chat",
385+
"url": "https://openrouter.ai/api/v1",
346386
"key": "your-api-key",
347-
"completionUrlRelativePath": "/openai/responses?api-version=2025-04-01-preview",
348387
"models": {
349-
"gpt-5": {}
388+
"anthropic/claude-3.5-sonnet": {},
389+
"openai/gpt-4-turbo": {},
390+
"meta-llama/llama-3.1-405b": {}
350391
}
351392
}
352393
}
@@ -378,25 +419,3 @@ Notes:
378419
}
379420
}
380421
```
381-
382-
=== "LM Studio"
383-
384-
This config works with LM studio:
385-
386-
```javascript title="~/.config/eca/config.json"
387-
{
388-
"providers": {
389-
"lmstudio": {
390-
"api": "openai-chat",
391-
"url": "http://localhost:1234",
392-
"completionUrlRelativePath": "/v1/chat/completions",
393-
"httpClient": {
394-
"version": "http-1.1"
395-
},
396-
"models": {
397-
"your-model": {}
398-
}
399-
}
400-
}
401-
}
402-
```

0 commit comments

Comments
 (0)