mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 18:54:21 +01:00
sync
This commit is contained in:
@@ -331,7 +331,6 @@ Or if you already have an API key, you can select **Manually enter API Key** and
|
|||||||
|
|
||||||
1. Head over to the [Cerebras console](https://inference.cerebras.ai/), create an account, and generate an API key.
|
1. Head over to the [Cerebras console](https://inference.cerebras.ai/), create an account, and generate an API key.
|
||||||
|
|
||||||
|
|
||||||
2. Run `opencode auth login` and select **Cerebras**.
|
2. Run `opencode auth login` and select **Cerebras**.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -589,7 +588,7 @@ To use Kimi K2 from Moonshot AI:
|
|||||||
|
|
||||||
5. Configure Moonshot in your opencode config.
|
5. Configure Moonshot in your opencode config.
|
||||||
|
|
||||||
```json title="opencode.json" "\"moonshot\"" {5-15}
|
```json title="opencode.json" ""moonshot"" {5-15}
|
||||||
{
|
{
|
||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
"provider": {
|
"provider": {
|
||||||
@@ -798,7 +797,7 @@ https://platform.openai.com/api-keys
|
|||||||
|
|
||||||
### Zhipu AI
|
### Zhipu AI
|
||||||
|
|
||||||
1. Head over to the [Zhipu AI console](https://chat.z.ai/), create an account, navigate to **Manage APIs**, and click **Create a new API key**.
|
1. Head over to the [Zhipu API console](https://z.ai/manage-apikey/apikey-list), create an account, and click **Create a new API key**.
|
||||||
|
|
||||||
2. Run `opencode auth login` and select **Zhipu AI**.
|
2. Run `opencode auth login` and select **Zhipu AI**.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user