fix: 修正函数文档字符串参数错误

1. 修正 change_mood.py 中 execute 函数的错误参数
2. 修正 change_relationship.py 中 execute 函数的错误参数
3. 修正 reply_generator.py 中 generate 函数的错误参数
4. 修正 schedule_generator.py 中 get_current_num_task 函数缺少参数

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
春河晴
2025-04-17 16:12:21 +09:00
parent 2e143d5469
commit df4e0c8494
5 changed files with 5 additions and 10 deletions

View File

@@ -28,8 +28,7 @@ class ChangeMoodTool(BaseTool):
Args:
function_args: 工具参数
message_processed_plain_text: 原始消息文本
response_set: 原始消息文本
message_txt: 原始消息文本
Returns:
Dict: 工具执行结果

View File

@@ -27,9 +27,7 @@ class RelationshipTool(BaseTool):
Args:
function_args: 包含工具参数的字典
text: 原始消息文本
changed_value: 变更值
reason: 变更原因
message_txt: 原始消息文本
Returns:
dict: 包含执行结果的字典