From 33f434aafae2eb33d582d450c86c6a29bba297db Mon Sep 17 00:00:00 2001 From: Windpicker-owo <3431391539@qq.com> Date: Fri, 31 Oct 2025 23:14:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(plugin):=20=E7=A6=81=E7=94=A8hello=5Fworld?= =?UTF-8?q?=5Fplugin=E4=BB=A5=E9=98=B2=E6=AD=A2=E6=84=8F=E5=A4=96=E5=90=AF?= =?UTF-8?q?=E7=94=A8=20fix(replyer):=20=E4=BF=AE=E6=94=B9=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF=E4=B8=AD=E7=9A=84=E2=80=9C=E8=BF=99?= =?UTF-8?q?=E5=8F=A5=E8=AF=9D=E2=80=9D=E4=B8=BA=E2=80=9C=E8=BF=99=E6=9D=A1?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E2=80=9D=E4=BB=A5=E6=8F=90=E9=AB=98=E8=A1=A8?= =?UTF-8?q?=E8=BE=BE=E5=87=86=E7=A1=AE=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/hello_world_plugin/plugin.py | 2 +- src/chat/replyer/default_generator.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/hello_world_plugin/plugin.py b/plugins/hello_world_plugin/plugin.py index 9f9257feb..078e2d367 100644 --- a/plugins/hello_world_plugin/plugin.py +++ b/plugins/hello_world_plugin/plugin.py @@ -202,7 +202,7 @@ class HelloWorldPlugin(BasePlugin): """一个包含四大核心组件和高级配置功能的入门示例插件。""" plugin_name = "hello_world_plugin" - enable_plugin = True + enable_plugin = False dependencies: ClassVar = [] python_dependencies: ClassVar = [] config_file_name = "config.toml" diff --git a/src/chat/replyer/default_generator.py b/src/chat/replyer/default_generator.py index 20f3dec91..c4e6f0670 100644 --- a/src/chat/replyer/default_generator.py +++ b/src/chat/replyer/default_generator.py @@ -62,7 +62,7 @@ def init_prompt(): {auth_role_prompt_block} 你正在{chat_target_2},{reply_target_block} -对这句话,你想表达,原句:{raw_reply},原因是:{reason}。你现在要思考怎么组织回复 +对这条消息,你想表达,原句:{raw_reply},原因是:{reason}。你现在要思考怎么组织回复 你现在的心情是:{mood_state} 你需要使用合适的语法和句法,参考聊天内容,组织一条日常且口语化的回复。请你修改你想表达的原句,符合你的表达风格和语言习惯 {reply_style},你可以完全重组回复,保留最基本的表达含义就好,但重组后保持语意通顺。