docs: add cortecs docs (#4547)

pull/4121/head
Asmae_ELAZRAK 2025-11-20 15:34:04 +01:00 committed by GitHub
parent 11373755d9
commit 9eb6731c21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 36 additions and 0 deletions

View File

@ -357,6 +357,42 @@ Or if you already have an API key, you can select **Manually enter API Key** and
---
### Cortecs
1. Head over to the [Cortecs console](https://cortecs.ai/), create an account, and generate an API key.
2. Run `opencode auth login` and select **Cortecs**.
```bash
$ opencode auth login
┌ Add credential
◆ Select provider
│ ● Cortecs
│ ...
```
3. Enter your Cortecs API key.
```bash
$ opencode auth login
┌ Add credential
◇ Select provider
│ Cortecs
◇ Enter your API key
│ _
```
4. Run the `/models` command to select a model like _Kimi K2 Instruct_.
---
### DeepSeek
1. Head over to the [DeepSeek console](https://platform.deepseek.com/), create an account, and click **Create new API key**.