Skip to content

Commit 922fb1e

Browse files
committed
feat: add ModelStack integration documentation and navigation links for improved user access
1 parent 4bc8f99 commit 922fb1e

File tree

4 files changed

+74
-0
lines changed

4 files changed

+74
-0
lines changed

.vitepress/config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export default defineConfig({
128128
base: "/config/providers",
129129
collapsed: true,
130130
items: [
131+
{ text: "🚀 ModelStack", link: "/modelstack" },
131132
{ text: "NewAPI", link: "/newapi" },
132133
{ text: "PPIO 派欧云", link: "/ppio" },
133134
{ text: "硅基流动", link: "/siliconflow" },
@@ -345,6 +346,7 @@ export default defineConfig({
345346
base: "/en/config/providers",
346347
collapsed: true,
347348
items: [
349+
{ text: "🚀 ModelStack", link: "/modelstack" },
348350
{ text: "NewAPI", link: "/newapi" },
349351
{ text: "PPIO Cloud", link: "/ppio" },
350352
{ text: "SiliconFlow", link: "/siliconflow" },

en/config/providers/modelstack.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Connect to ModelStack
2+
3+
[ModelStack](https://modelstack.app/) is a model service platform that provides rich model resources and API interfaces, supporting various model formats and inference methods. **AstrBot will maintain a long-term, in-depth partnership with ModelStack** to provide a better model service experience.
4+
5+
AstrBot supports connecting to ModelStack as a model provider, allowing users to access and use various AI model services through ModelStack.
6+
7+
![ModelStack](/source/images/modelstack/image.png)
8+
9+
## Configuration Steps
10+
11+
### Obtain ModelStack API Key
12+
13+
After registering and logging into ModelStack, click "Console" in the top navigation bar, then click "Token Management", and click the "Add Token" button to create a new API Key.
14+
15+
After successful creation, click the copy key button to copy the generated API Key.
16+
17+
> [!TIP]
18+
> To use the service properly, you may need to make a payment first. If you have any payment issues, please contact [i@modelstack.app](mailto:i@modelstack.app) immediately.
19+
20+
### Select a Model
21+
22+
Select the model you want to use from "Model Square" in the top navigation bar.
23+
24+
### Connect to AstrBot
25+
26+
On the "Service Providers" page of the AstrBot panel, click "Add Service Provider" and select "OpenAI". (If there is a ModelStack provider available, select "ModelStack").
27+
28+
- Name the ID as `modelstack` (or any name you prefer)
29+
- Fill in the API Base URL with `https://modelstack.app/v1`
30+
- Fill in the API Key with the API Key obtained above
31+
- Fill in the model name with the model name selected above
32+
- Click the "Save" button to complete the creation.
33+
34+
### Apply the Model
35+
36+
On the "Configuration" page of the AstrBot panel, find the model section, change the "Default Chat Model" to the ModelStack provider you just created, click the "Save" button to complete the application.

source/images/modelstack/image.png

314 KB
Loading

zh/config/providers/modelstack.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# 接入到 ModelStack
2+
3+
[ModelStack](https://modelstack.app/) 是一个模型服务平台,提供了丰富的模型资源和API接口,支持多种模型格式和推理方式。**AstrBot 将会与 ModelStack 进行长期、深度的合作**,提供更好的模型服务体验。
4+
5+
AstrBot 支持接入 ModelStack 作为模型提供商,用户可以通过 ModelStack 来访问和使用各种 AI 模型服务。
6+
7+
![ModelStack](/source/images/modelstack/image.png)
8+
9+
## 配置步骤
10+
11+
### 获取 ModelStack API Key 密钥
12+
13+
在 ModelStack 注册并登录后,点击上方导航栏的「控制台」,点击「令牌管理」,然后点击「添加令牌」按钮,创建一个新的 API Key 密钥。
14+
15+
创建成功后,点击复制密钥按钮,复制生成的 API Key 密钥。
16+
17+
> [!TIP]
18+
> 为了能够正常使用,你可能需要先支付。如果有任何支付问题,请立即联系 [i@modelstack.app](mailto:i@modelstack.app)
19+
20+
### 选择模型
21+
22+
在上方导航栏的「模型广场」中选择需要使用的模型。
23+
24+
### 接入到 AstrBot
25+
26+
在 AstrBot 面板的「服务提供商」页面,点击「新增服务提供商」,选择「OpenAI」。(如果有 ModelStack 提供商,则选择「ModelStack」)。
27+
28+
- ID 命名为 `modelstack`(随意)
29+
- API Base URL 填写 `https://modelstack.app/v1`
30+
- API Key 填写上面获取的 API Key 密钥
31+
- 模型名称填写上面选择的模型名称
32+
- 点击「保存」按钮,完成创建。
33+
34+
### 应用模型
35+
36+
在 AstrBot 面板的「配置文件」页面,找到模型一节,将「默认聊天模型」修改为刚刚创建的 ModelStack 提供商,点击「保存」按钮,完成应用。

0 commit comments

Comments
 (0)