Skip to content

Commit 1605c5e

Browse files
committed
模型配置
1 parent 3ea9ce6 commit 1605c5e

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

config/model-config.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
# 配置自定义的模型参数
3+
4+
AstrBot 的配置文件是一个 `Json` 格式的文件。AstrBot 会在启动时读取这个文件,并根据文件中的配置来初始化 AstrBot。它位于 `data/cmd_config.json` 下。
5+
6+
模型配置可以手动修改配置文件修改。
7+
8+
您可在管理面板在线修改配置文件:
9+
10+
![](../source/images/model-config/image.png)
11+
12+
也可以手动修改位于 `data/cmd_config.json` 下的配置文件。
13+
14+
找到 `provider`,并找到你想要修改的提供商的模型配置:
15+
16+
![alt text](../source/images/model-config/image-2.png)
17+
18+
然后在 `model_config` 中添加新的参数即可。
19+
20+
具体的参数请看对应的提供商的文档。
19.8 KB
Loading
25.5 KB
Loading

0 commit comments

Comments
 (0)