From 228aec5401ac244da6f1415dc5355b07177653fa Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Mon, 3 Feb 2025 14:17:45 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A7=BB=E9=99=A4=E4=BA=86=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=BA=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/config/default.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index e595ad714..8554901f9 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -83,14 +83,7 @@ DEFAULT_CONFIG = { "pip_install_arg": "", "plugin_repo_mirror": "", "knowledge_db": {}, - "persona": [ - { - "name": "default", - "prompt": "", - "begin_dialogs": [], - "mood_imitation_dialogs": [], - } - ], + "persona": [], } @@ -626,14 +619,14 @@ CONFIG_METADATA_2 = { "description": "预设对话", "type": "list", "items": {"type": "string"}, - "hint": "可选。在每个对话前会插入这些预设对话。对话需要成对(用户和助手),输入完一个角色之后按回车", + "hint": "可选。在每个对话前会插入这些预设对话。对话需要成对(用户和助手),输入完一个角色的内容之后按【回车】。需要偶数个对话", "obvious_hint": True, }, "mood_imitation_dialogs": { "description": "对话风格模仿", "type": "list", "items": {"type": "string"}, - "hint": "旨在让模型尽可能模仿学习到所填写的对话的语气风格。格式和 `预设对话` 一样。对话需要成对(用户和助手),输入完一个角色之后按回车", + "hint": "旨在让模型尽可能模仿学习到所填写的对话的语气风格。格式和 `预设对话` 一致。对话需要成对(用户和助手),输入完一个角色的内容之后按【回车】。需要偶数个对话", "obvious_hint": True, }, },