Skip to content

Commit

Permalink
模型配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Feb 7, 2025
1 parent 3ea9ce6 commit 1605c5e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/model-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# 配置自定义的模型参数

AstrBot 的配置文件是一个 `Json` 格式的文件。AstrBot 会在启动时读取这个文件,并根据文件中的配置来初始化 AstrBot。它位于 `data/cmd_config.json` 下。

模型配置可以手动修改配置文件修改。

您可在管理面板在线修改配置文件:

![](../source/images/model-config/image.png)

也可以手动修改位于 `data/cmd_config.json` 下的配置文件。

找到 `provider`,并找到你想要修改的提供商的模型配置:

![alt text](../source/images/model-config/image-2.png)

然后在 `model_config` 中添加新的参数即可。

具体的参数请看对应的提供商的文档。
Binary file added source/images/model-config/image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/model-config/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1605c5e

Please sign in to comment.