mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-10 11:24:59 +01:00
Docs: update z.ai provider doc
This commit is contained in:
@@ -761,11 +761,11 @@ https://platform.openai.com/api-keys
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Zhipu AI
|
### Z.AI
|
||||||
|
|
||||||
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**.
|
1. Head over to the [Z.AI 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 **Z.AI**.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ opencode auth login
|
$ opencode auth login
|
||||||
@@ -773,12 +773,12 @@ https://platform.openai.com/api-keys
|
|||||||
┌ Add credential
|
┌ Add credential
|
||||||
│
|
│
|
||||||
◆ Select provider
|
◆ Select provider
|
||||||
│ ● Zhipu AI
|
│ ● Z.AI
|
||||||
│ ...
|
│ ...
|
||||||
└
|
└
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Enter your Zhipu AI API key.
|
3. Enter your Z.AI API key.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ opencode auth login
|
$ opencode auth login
|
||||||
@@ -786,7 +786,7 @@ https://platform.openai.com/api-keys
|
|||||||
┌ Add credential
|
┌ Add credential
|
||||||
│
|
│
|
||||||
◇ Select provider
|
◇ Select provider
|
||||||
│ Zhipu AI
|
│ Z.AI
|
||||||
│
|
│
|
||||||
◇ Enter your API key
|
◇ Enter your API key
|
||||||
│ _
|
│ _
|
||||||
|
|||||||
Reference in New Issue
Block a user