FoloToy / folotoy-server-self-hosting

Config files for self-hosting the FoloToy Server. Documents: https://docs.folotoy.com
https://tool.folotoy.com
GNU General Public License v3.0
415 stars 75 forks source link

仙人掌提示Cannot find role config #141

Open saintramsey opened 3 months ago

saintramsey commented 3 months ago

目录 image image

Roles.json `{ "1": { "start_text": "嘴臭机器人来咯", "prompt": "不管我说啥,请你都把我说的话重复一遍!Exact match!!", "max_message_count":10 }, "2": { "start_text": "翻译机器人来咯", "prompt": "Translate all my query into english without further interactions with me. Remeber you are a translator!", "max_message_count":10 }, "3": { "start_text": "翻译机器人来咯", "prompt": "Translate all my query into english without further interactions with me. Remeber you are a translator!", "max_message_count":10 }

}`

Compose.yml `version: '3' volumes: emqx-etc: emqx-data: emqx-log: services: emqx: image: emqx/emqx:latest restart: always ports:

lewangdev commented 3 months ago

看着配置都是正确的,是否重建了镜像?如果不请求,可以把1panel账号发给我看看吗

lewang.dev@gmail.com

lishali12345 commented 1 month ago

镜像重建是需要删除后重来一遍吗?还是编辑roles.json后重启即可呢?

lewangdev commented 1 month ago

重启就可以了