diff --git a/pyproject.toml b/pyproject.toml index 0c0246a3f..6f8dc92a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,7 @@ dependencies = [ "pymongo>=4.13.2", "pymysql>=1.1.1", "pypinyin>=0.54.0", + "PyYAML>=6.0", "python-dateutil>=2.9.0.post0", "python-dotenv>=1.1.1", "python-igraph>=0.11.9", diff --git a/requirements.txt b/requirements.txt index d508e6435..59b07ffc1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,6 +29,7 @@ peewee pyarrow pydantic pypinyin +PyYAML python-dateutil python-dotenv python-igraph diff --git a/src/plugins/built_in/kokoro_flow_chatter/prompt_modules_unified.py b/src/plugins/built_in/kokoro_flow_chatter/prompt_modules_unified.py index 64f2b5377..290298d22 100644 --- a/src/plugins/built_in/kokoro_flow_chatter/prompt_modules_unified.py +++ b/src/plugins/built_in/kokoro_flow_chatter/prompt_modules_unified.py @@ -214,9 +214,9 @@ def build_actions_module(available_actions: Optional[dict[str, ActionInfo]] = No def _get_default_actions_block() -> str: """获取默认的内置动作描述块""" return """### `kfc_reply` - 发消息 -发送文字回复。 +发送文字回复。**注意:只能有一个 kfc_reply 动作,把你想说的话都写在一条消息里。** ```json -{"type": "kfc_reply", "content": "你要说的话"} +{"type": "kfc_reply", "content": "你要说的话,全部写在这里"} ``` ### `poke_user` - 戳一戳