Skip to content

Commit

Permalink
Merge pull request #244 from windsonsea/apicall
Browse files Browse the repository at this point in the history
fix some format issues for model pages
  • Loading branch information
windsonsea authored Feb 17, 2025
2 parents a5c6df5 + 4474d8f commit 496b99f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion docs/zh/docs/en/models/apikey.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ API keys are essential credentials for accessing model services. They are used t
- **Name:** The name you assigned to the API key, helping you identify its purpose.
- **API Key:** A partial view of the key for reference.
- **Creation Time:** The date and time when the API key was created.
- To refresh the list, click the refresh button in the top-right corner.

- To refresh the list, click the refresh :material-refresh: button in the top-right corner.

## Deleting an API Key

Expand Down
8 changes: 5 additions & 3 deletions docs/zh/docs/en/models/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@ You can deploy models from the **Model Store** or **Model Services**. Below are
- Example: `text-gen-service` or `model-01`

- **Region**

Select the region for service deployment (e.g., "Shanghai Area 2"). Choose a region based on your business coverage and latency needs.

- **Number of Instances**
Configure the number of instances to deploy. Default value: 1.


- Configure the number of instances to deploy. Default value: 1.
- More instances enhance service concurrency, but they will also increase costs.

- **Billing Method**
d.run offers two billing options:

d.run offers two billing options:

1. **Pay-as-you-go:**

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/docs/en/models/user-guides/bob-translate.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Add your API Key and API Host obtained from d.run:

- **API Key**: Enter your API Key
- **API Host**:
- For MaaS: Use `https://chat.d.run`
- For independently deployed model services, refer to the model instance details, typically `https://<region>.d.run`
- For MaaS: Use `https://chat.d.run`
- For independently deployed model services, refer to the model instance details, typically `https://<region>.d.run`
- **Custom Model**: Specify as `public/deepseek-r1`

![Bob Translate](../images/bobtranslate-3.png)
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/docs/en/models/user-guides/lobe-chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ Enter the API Key and API Host obtained from d.run.

## Lobe Chat Usage Demo

![Lobe Chat](../images/lobe-chat-3.png)
![Lobe Chat](../images/lobe-chat-3.png)
4 changes: 2 additions & 2 deletions docs/zh/docs/models/apikey.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ API Key 是调用模型服务的核心凭证,用于验证用户身份并保护

1.**API Key 管理** 页面中,点击右上角的 **创建** 按钮
2. 在弹出的窗口中,填写 API Key 的名称(如 test-key),用于标识该 Key 的用途或所属项目
3. 点击 **确定**,系统将生成一个新的 API Key
3. 点击 **确定** ,系统将生成一个新的 API Key

!!! note

Expand All @@ -30,7 +30,7 @@ API Key 是调用模型服务的核心凭证,用于验证用户身份并保护
- 名称:API Key 的标识名称,便于用户区分不同用途的 Key
- API Key:部分显示密钥内容,仅用于参考
- 创建时间:API Key 的生成时间
- 点击右上角的刷新按钮可以更新 Key 列表
- 点击右上角的刷新 :material-refresh: 按钮可以更新 Key 列表

## 删除 API Key

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/docs/models/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ hide:
- 查看配置费用

- 页面底部会自动显示配置费用的计算公式及预计费用
- 示例:
- 示例:
- 配置费用:3 元/小时
- 计算公式:1(实例数) × 3 元/小时

0 comments on commit 496b99f

Please sign in to comment.