mirror of
https://github.com/ddaodan/minechatgpt.git
synced 2026-06-21 21:45:28 +08:00
更换okhttp为apache httpclient,尝试减少插件体积
This commit is contained in:
23
readme.md
23
readme.md
@@ -14,7 +14,19 @@
|
||||
## 安装
|
||||
- 下载插件,放在plugins文件夹中
|
||||
- 重启服务器
|
||||
> 为兼容更多版本,插件使用1.13版本进行构建,因此在较高版本加载插件时,控制台会出现以下错误信息,这属于正常现象。
|
||||
> ```
|
||||
> [Server thread/WARN]: Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
|
||||
> [Server thread/WARN]: Legacy plugin MineChatGPT v1.0 does not specify an api-version.
|
||||
> ```
|
||||
|
||||
## 截图
|
||||
- 服务端截图(Spigot 1.20.1)
|
||||

|
||||
- 插件截图
|
||||

|
||||
- 对话截图(使用FastGPT训练的自定义知识库)
|
||||

|
||||
## 配置文件`config.yml`
|
||||
```yaml
|
||||
# API 相关设置
|
||||
@@ -48,7 +60,16 @@ messages:
|
||||
available_models: "可用模型列表:"
|
||||
no_permission: "你没有权限使用这个指令。需要的权限:%s"
|
||||
```
|
||||
|
||||
## 兼容的版本
|
||||
✔ = 完全支持
|
||||
? = 部分支持
|
||||
× = 不支持
|
||||
只列出经过测试的版本
|
||||
|服务端|支持情况|
|
||||
|-|-|
|
||||
|Mohist 1.20.1|✔|
|
||||
|Spigot 1.20.1|✔|
|
||||
|Spigot 1.12.2|✔|
|
||||
|
||||
## 常见问题
|
||||
### `Failed to contact ChatGPT.` `无法联系ChatGPT。`
|
||||
|
||||
Reference in New Issue
Block a user