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

@@ -30,11 +30,8 @@ class ReplyGenerator:
"""生成回复
Args:
goal: 对话目标
chat_history: 聊天历史
knowledge_cache: 知识缓存
previous_reply: 上一次生成的回复(如果有)
retry_count: 当前重试次数
observation_info: 观察信息
conversation_info: 对话信息
Returns:
str: 生成的回复

View File

@@ -235,6 +235,7 @@ class ScheduleGenerator:
Args:
num (int): 需要获取的日程数量默认为1
time_info (bool): 是否包含时间信息默认为False
Returns:
list: 最新加入的日程列表